X-Git-Url: http://www.wagner.pp.ru/gitweb/?a=blobdiff_plain;f=tcl_tests%2Fcms.try;h=a877c0b9091a87227e66e1444bb9a3744067ca87;hb=7602f251c8d19e0085129e07b4e81a8fbdc3f1a2;hp=2db2958a7105a5d92829577f5809ba3a45ec5ae8;hpb=f74ade0b36020023b21bb6b452c6cc0f55c4105a;p=openssl-gost%2Fengine.git diff --git a/tcl_tests/cms.try b/tcl_tests/cms.try index 2db2958..a877c0b 100644 --- a/tcl_tests/cms.try +++ b/tcl_tests/cms.try @@ -158,7 +158,7 @@ test -skip {![file exists cms_sign_$alg_fn.pem]} "Checking oids in cms struct" { } 0 [mkObjList [hash_long_name $alg] [smime_hash_with_sign_long_name $ca_sign_alg] [alg_long_name $alg] [pubkey_long_name $alg] [param_hash_long_name [param_hash $alg]] [smime_hash_with_sign_long_name $ca_sign_alg] [hash_long_name $alg] "GOST R 34.11-2012 with 256 bit hash" "GOST R 34.11-2012 with 512 bit hash" "GOST R 34.11-94" "GOST 28147-89" [alg_long_name $alg]] test -skip {![file exists cms_sign_det_$alg_fn.pem]} "Verifying detached $alg cms_signature" { - grep Veri [openssl "cms -verify -content cms_sign.dat -inform PEM -in cms_sign_det_$alg_fn.pem -out cms_verified.txt -noverify"] + grep Veri [openssl "cms -verify -binary -content cms_sign.dat -inform PEM -in cms_sign_det_$alg_fn.pem -out cms_verified.txt -noverify"] } 0 "Verification successful "