From: Dmitry Belyavskiy Date: Mon, 4 May 2020 17:59:41 +0000 (+0300) Subject: Update CA verification test X-Git-Tag: v3.0.0~157 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=4e0ee7f1608b54e53734c1fc5c3680bbbd97a6a7;p=openssl-gost%2Fengine.git Update CA verification test --- 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"]