From: Dmitry Belyavskiy Date: Mon, 4 May 2020 17:31:33 +0000 (+0300) Subject: Fixing ca cert verification X-Git-Tag: v3.0.0~160 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=895a3dbf838a11956bf02f8f85b44a2116e13131;p=openssl-gost%2Fengine.git Fixing ca cert verification --- diff --git a/tcl_tests/ca.try b/tcl_tests/ca.try index c5693bb..1dac04f 100644 --- a/tcl_tests/ca.try +++ b/tcl_tests/ca.try @@ -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