diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2023-07-28 11:51:36 +0200 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2023-07-28 11:51:36 +0200 |
commit | 2a8a5e0ecaa3e3d6f4ec722a49aa72476755c2b7 (patch) | |
tree | de6cbe04a0e00fbe83ea20a7cab8f85ad36831fe /tcl_tests/ca.try | |
parent | af20283d945d0607c2245e7f5871ee09c9024bc0 (diff) | |
download | gost-engine-2a8a5e0ecaa3e3d6f4ec722a49aa72476755c2b7.zip gost-engine-2a8a5e0ecaa3e3d6f4ec722a49aa72476755c2b7.tar.gz gost-engine-2a8a5e0ecaa3e3d6f4ec722a49aa72476755c2b7.tar.bz2 |
Adjust CA test according to new wordingv3.0.2
Diffstat (limited to 'tcl_tests/ca.try')
-rw-r--r-- | tcl_tests/ca.try | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tcl_tests/ca.try b/tcl_tests/ca.try index 3c7b61e..249923b 100644 --- a/tcl_tests/ca.try +++ b/tcl_tests/ca.try @@ -61,9 +61,9 @@ test -skip {![file exists $userdir/broken.pem]} "Registering broken request at c test "Revoking certificate" { set revoking_cert $::test::ca/newcerts/[string trim [getFile $::test::ca/serial.old]].pem append serial_list [regsub "serial=" [openssl "x509 -in $revoking_cert -noout -serial"] " Serial Number: "] - grep "Data Base" [openssl "ca -crl_reason keyCompromize -crl_compromise [clock\ - format [clock seconds] -format %Y%m%d%H%M%SZ] -revoke $revoking_cert -config $::test::ca/ca.conf"] -} 0 "Data Base Updated + string map {"Data Base" Database Updated updated} [ grep "Data" [openssl "ca -crl_reason keyCompromize -crl_compromise [clock\ + format [clock seconds] -format %Y%m%d%H%M%SZ] -revoke $revoking_cert -config $::test::ca/ca.conf"] ] +} 0 "Database updated " test -createsfiles test.crl "Generating CRL" { openssl "ca -gencrl -config $::test::ca/ca.conf -out test.crl" |