aboutsummaryrefslogtreecommitdiff
path: root/tcl_tests
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2020-05-04 20:31:33 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-05-04 20:31:33 +0300
commit895a3dbf838a11956bf02f8f85b44a2116e13131 (patch)
tree570db1853812197b8303b50d123421c24d4e25e8 /tcl_tests
parent297987f22ef8e26cfb6e4fa51ac4af31dcbf57a3 (diff)
downloadgost-engine-895a3dbf838a11956bf02f8f85b44a2116e13131.zip
gost-engine-895a3dbf838a11956bf02f8f85b44a2116e13131.tar.gz
gost-engine-895a3dbf838a11956bf02f8f85b44a2116e13131.tar.bz2
Fixing ca cert verification
Diffstat (limited to 'tcl_tests')
-rw-r--r--tcl_tests/ca.try2
1 files changed, 1 insertions, 1 deletions
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