]> wagner.pp.ru Git - openssl-gost/engine.git/commitdiff
Update CA verification test
authorDmitry Belyavskiy <beldmit@gmail.com>
Mon, 4 May 2020 17:59:41 +0000 (20:59 +0300)
committerDmitry Belyavskiy <beldmit@gmail.com>
Mon, 4 May 2020 17:59:41 +0000 (20:59 +0300)
tcl_tests/ca.try

index 0c08e636536278ae78acc400b299d0d0ebf8cc90..dd2d8df014cafa78d33d6b483ad3b5df04ed4bed 100644 (file)
@@ -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"]