From: Vitaly Chikunov Date: Wed, 13 Nov 2019 23:18:45 +0000 (+0300) Subject: tcl_tests: Fix ocsp test by removing -md_gost94 option X-Git-Tag: v3.0.0~242 X-Git-Url: http://wagner.pp.ru/gitweb/?a=commitdiff_plain;h=f3181ef3445c9b2be3ee438da1874fa07e668b55;p=openssl-gost%2Fengine.git tcl_tests: Fix ocsp test by removing -md_gost94 option Otherwise you'll get: ocsp: Digest must be before -cert or -serial ocsp: Use -help for summary. --- diff --git a/tcl_tests/ocsp.try b/tcl_tests/ocsp.try index a1b2c68..92687b1 100644 --- a/tcl_tests/ocsp.try +++ b/tcl_tests/ocsp.try @@ -98,7 +98,7 @@ test -skip {![file exists request3.der]} -createsfiles response3.der "Форми } 0 1 test -skip {![file exists response3.der] } "Проверяем ответ на запрос 3" { - grep "Response .erif" [openssl "ocsp -[hash_short_name [alg_hash $alg]] $client_args -respin response3.der"] + grep "Response .erif" [openssl "ocsp $client_args -respin response3.der"] } 0 "Response verify OK\n" @@ -139,7 +139,7 @@ test -skip {![file exists request5.der]} -createsfiles response5.der "Форми } 0 1 test -skip {![file exists response5.der] } "Проверяем ответ на запрос 5" { - grep "Response .erif" [openssl "ocsp -[hash_short_name [alg_hash $alg]] $client_args -respin response5.der"] + grep "Response .erif" [openssl "ocsp $client_args -respin response5.der"] } 0 "Response verify OK\n" test -skip {![file exists response5.der]} "Проверяем статус сертификатoв" {