X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=tcl_tests%2Fcms2.try;h=c734a6c27db367d7b59d0ce6e5088fa305a22215;hb=d183173c9843e827fb273fd272b4ab022d538c03;hp=884f1eca6db0c6a4f23dd5612cd4c3f0f1aa10bf;hpb=b0f5bce10dcc05198e2e58ee08e1cc3dcd3d1aea;p=openssl-gost%2Fengine.git 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" {