]> 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 1233d55980d76caed1712321ca0ace297048e3fa..c734a6c27db367d7b59d0ce6e5088fa305a22215 100644 (file)
@@ -1,5 +1,4 @@
 #!/usr/bin/tclsh
-# -*- coding: cp1251 -*-
 lappend auto_path [file dirname [info script]]
 package require ossltest
 cd $::test::dir
@@ -31,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" {
@@ -65,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" {
@@ -99,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" {
@@ -132,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" {