aboutsummaryrefslogtreecommitdiff
path: root/tcl_tests
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@gmail.com>2020-08-28 16:36:34 +0300
committerDmitry Belyavskiy <beldmit@gmail.com>2020-08-28 16:36:34 +0300
commit51f4431c08af3ff0312315cb815c017aebd09bb3 (patch)
treed317e421fcf2d0a6da90532555a03fee9ab72c11 /tcl_tests
parentcdd646bdac35373119c2db23e2739208ac55635d (diff)
downloadgost-engine-51f4431c08af3ff0312315cb815c017aebd09bb3.zip
gost-engine-51f4431c08af3ff0312315cb815c017aebd09bb3.tar.gz
gost-engine-51f4431c08af3ff0312315cb815c017aebd09bb3.tar.bz2
Tests adjustment
Diffstat (limited to 'tcl_tests')
-rw-r--r--tcl_tests/smime_io.try14
1 files changed, 7 insertions, 7 deletions
diff --git a/tcl_tests/smime_io.try b/tcl_tests/smime_io.try
index e4d7666..e0c7235 100644
--- a/tcl_tests/smime_io.try
+++ b/tcl_tests/smime_io.try
@@ -29,12 +29,12 @@ foreach alg $alg_list {
test -skip {![file exists sign_$alg_fn.msg]} "Verifying a message signed with $alg without ca via cms" {
grep Veri [openssl "cms -verify -text -in sign_$alg_fn.msg -out verified.txt -noverify -certfile $username/cert.pem"]
-} 0 "Verification successful
+} 0 "CMS Verification successful
"
test -skip {![file exists sign_$alg_fn.msg]} "Verifying a message signed with $alg with ca via cms" {
grep Veri [openssl "cms -verify -text -in sign_$alg_fn.msg -out verified.txt -certfile $username/cert.pem -CAfile $::test::ca/cacert.pem"]
-} 0 "Verification successful
+} 0 "CMS Verification successful
"
test -skip {![file exists bad_$alg_fn.msg]} -createsfiles verified.txt "Verifying corrupted messages signed with $alg via smime" {
@@ -43,22 +43,22 @@ test -skip {![file exists bad_$alg_fn.msg]} -createsfiles verified.txt "Verifyin
test -skip {![file exists sign_c_$alg_fn.msg]} "Verifying a message signed with $alg having cert inside without ca via cms" {
grep Veri [openssl "cms -verify -text -in sign_c_$alg_fn.msg -out verified.txt -noverify"]
-} 0 "Verification successful
+} 0 "CMS Verification successful
"
test -skip {![file exists sign_c_$alg_fn.msg]} "Verifying a message signed with $alg having cert with ca via cms" {
grep Veri [openssl "cms -verify -text -in sign_c_$alg_fn.msg -out verified.txt -CAfile $::test::ca/cacert.pem"]
-} 0 "Verification successful
+} 0 "CMS Verification successful
"
test -createsfiles verified.txt -skip {![file exists sign_op_$alg_fn.msg]} "Verifying a message signed by $alg having cert inside without ca via cms" {
grep Veri [openssl "cms -verify -text -in sign_op_$alg_fn.msg -out verified.txt -noverify"]
-} 0 "Verification successful
+} 0 "CMS Verification successful
"
test -createsfiles verified.txt -skip {![file exists sign_op_$alg_fn.msg]} "Verifying a $alg opaque message with ca via cms" {
grep Veri [openssl "cms -verify -text -in sign_op_$alg_fn.msg -out verified.txt -CAfile $::test::ca/cacert.pem"]
-} 0 "Verification successful
+} 0 "CMS Verification successful
"
test -skip {![file exists broken_op_$alg_fn.msg]} "Verifying broken $alg opaque message" {
@@ -67,7 +67,7 @@ test -skip {![file exists broken_op_$alg_fn.msg]} "Verifying broken $alg opaque
test -skip {![file exists sign_det_$alg_fn.pem]} "Verifying detached $alg signature via cms" {
grep Veri [openssl "cms -verify -binary -content sign.dat -inform PEM -in sign_det_$alg_fn.pem -out verified.txt -noverify"]
-} 0 "Verification successful
+} 0 "CMS Verification successful
"
test -skip {![file exists sign_det_$alg_fn.msg]} -createsfiles {bad.dat} "Verifying corrupted $alg detached signature" {