X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=tcl_tests%2Fcms2.try;h=c734a6c27db367d7b59d0ce6e5088fa305a22215;hb=d183173c9843e827fb273fd272b4ab022d538c03;hp=1233d55980d76caed1712321ca0ace297048e3fa;hpb=3b8ddfe2f303b8931842e52bdb5c07c97042f651;p=openssl-gost%2Fengine.git diff --git a/tcl_tests/cms2.try b/tcl_tests/cms2.try index 1233d55..c734a6c 100644 --- a/tcl_tests/cms2.try +++ b/tcl_tests/cms2.try @@ -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" {