]> www.wagner.pp.ru Git - openssl-gost/engine.git/blobdiff - tcl_tests/cms2.try
Update test to match current openssl messages
[openssl-gost/engine.git] / tcl_tests / cms2.try
index 884f1eca6db0c6a4f23dd5612cd4c3f0f1aa10bf..c734a6c27db367d7b59d0ce6e5088fa305a22215 100644 (file)
@@ -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" {