diff options
author | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-08-20 10:37:44 +0300 |
---|---|---|
committer | Dmitry Belyavskiy <beldmit@gmail.com> | 2020-08-20 10:37:44 +0300 |
commit | d183173c9843e827fb273fd272b4ab022d538c03 (patch) | |
tree | d6b1e08cac0750913e87620eb96204f39a4449dd /tcl_tests/cms2.try | |
parent | b167fc2a841adf06d5493e490fc3965617866d8b (diff) | |
download | gost-engine-d183173c9843e827fb273fd272b4ab022d538c03.zip gost-engine-d183173c9843e827fb273fd272b4ab022d538c03.tar.gz gost-engine-d183173c9843e827fb273fd272b4ab022d538c03.tar.bz2 |
Update test to match current openssl messages
Diffstat (limited to 'tcl_tests/cms2.try')
-rw-r--r-- | tcl_tests/cms2.try | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tcl_tests/cms2.try b/tcl_tests/cms2.try index 884f1ec..c734a6c 100644 --- a/tcl_tests/cms2.try +++ b/tcl_tests/cms2.try @@ -30,7 +30,7 @@ test -createsfiles cms_signed2_2_$length.asn "Signing in DER format with 2nd sig test -createsfiles {was_signed.dat signer.certs} "Verifying signature in DER format" { grep "Verif" [openssl "cms -verify -inform der -in cms_signed2_2_$length.asn -noverify -signer signer.certs -out was_signed.dat"] -} 0 {Verification successful +} 0 {CMS Verification successful } test "Signed data is extracted correctly" { @@ -64,7 +64,7 @@ test -createsfiles cms_signed2_2_$length\_op.msg "Signing opaque in S/MIME forma test -createsfiles {was_signed.dat signer.certs} "Verifying opaque signature in S/MIME format" { grep "Verif" [openssl "cms -verify -in cms_signed2_2_$length\_op.msg -noverify -signer signer.certs -out was_signed.dat"] -} 0 {Verification successful +} 0 {CMS Verification successful } test "Signed data is extracted correctly" { @@ -98,7 +98,7 @@ test -createsfiles cms_signed2_2_$length\_det.asn "Signing detached in DER forma test -createsfiles {was_signed.dat signer.certs} "Verifying detached signature in DER format" { grep "Verif" [openssl "cms -verify -in cms_signed2_2_$length\_det.asn -noverify -signer signer.certs -out was_signed.dat -content signed2.dat -inform der"] -} 0 {Verification successful +} 0 {CMS Verification successful } test "Signed data is extracted correctly" { @@ -131,7 +131,7 @@ test -createsfiles cms_signed2_2_$length.msg "Signing in S/MIME format with 2nd test -createsfiles {was_signed.dat signer.certs} "Verifying signature in S/MIME format" { grep "Verif" [openssl "cms -verify -in cms_signed2_2_$length.msg -noverify -signer signer.certs -out was_signed.dat -inform smime"] -} 0 {Verification successful +} 0 {CMS Verification successful } test "Signed data is extracted correctly" { |