From 4e0ee7f1608b54e53734c1fc5c3680bbbd97a6a7 Mon Sep 17 00:00:00 2001 From: Dmitry Belyavskiy Date: Mon, 4 May 2020 20:59:41 +0300 Subject: [PATCH] Update CA verification test --- tcl_tests/ca.try | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/tcl_tests/ca.try b/tcl_tests/ca.try index 0c08e63..dd2d8df 100644 --- a/tcl_tests/ca.try +++ b/tcl_tests/ca.try @@ -93,12 +93,8 @@ test -skip {![file exists test.crl]} "Verifying corrupted CRL" { test "Verifying CA certificate" { grep "(cacert.pem|error|OK)" [openssl "verify -CAfile $::test::ca/cacert.pem $::test::ca/cacert.pem"] -} 1 "error $::test::ca/cacert.pem: verification failed -STDERR CONTENTS: -C = RU, L = Moscow, CN = Test CA $ca_alg, O = Cryptocom, OU = OpenSSL CA, emailAddress = openssl@cryptocom.ru -error 18 at 0 depth lookup: self signed certificate" - - +} 0 "$::test::ca/cacert.pem: OK +" test "Verifying certificate" { grep "cert.pem" [openssl "verify -CAfile $::test::ca/cacert.pem $userdir/cert.pem"] -- 2.39.5