diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-04 20:59:41 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-05-04 20:59:41 +0300 |
commit | 4e0ee7f1608b54e53734c1fc5c3680bbbd97a6a7 (patch) | |
tree | 5cab5e14a31941e7b7fbde6282fce584a94b22cd /tcl_tests/ca.try | |
parent | accdf6582714e6c3acab1cf142de905e54e5559f (diff) | |
download | gost-engine-4e0ee7f1608b54e53734c1fc5c3680bbbd97a6a7.zip gost-engine-4e0ee7f1608b54e53734c1fc5c3680bbbd97a6a7.tar.gz gost-engine-4e0ee7f1608b54e53734c1fc5c3680bbbd97a6a7.tar.bz2 |
Update CA verification test
Diffstat (limited to 'tcl_tests/ca.try')
-rw-r--r-- | tcl_tests/ca.try | 8 |
1 files changed, 2 insertions, 6 deletions
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"] |