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

index c5693bbda54abfc1a08800f8e9dae58f69488c8c..1dac04fbaefc0dd6df703e3617693a2f4d4b1079 100644 (file)
@@ -92,7 +92,7 @@ test -skip {![file exists test.crl]} "Verifying corrupted CRL" {
 "
 
 test "Verifying CA certificate" {
-       grep "(cacert.pem|error|OK)" [openssl "verify $::test::ca/cacert.pem"]
+       grep "(cacert.pem|error|OK)" [openssl "verify -CAflie $::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