From e3a66f5a70754efca6b0830971f82580bbe44b02 Mon Sep 17 00:00:00 2001 From: NV Date: Wed, 28 Jan 2015 14:17:27 +0900 Subject: [PATCH] Fix GOST handling in LibreSSL --- testssl.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/testssl.sh b/testssl.sh index f3a3801..1fb6a87 100755 --- a/testssl.sh +++ b/testssl.sh @@ -2019,10 +2019,12 @@ cleanup () { # for now only GOST engine initialize_engine(){ - if uname -s | grep -q BSD || ! $OPENSSL engine gost -vvvv -t -c 2>&1 >/dev/null; then + if uname -s | grep -q BSD || ! $OPENSSL engine gost -vvvv -t -c >/dev/null 2>&1; then litemagenta "No engine or GOST support via engine with your $OPENSSL"; outln "\n" return 1 - else + elif echo $osslver | grep -q LibreSSL; then + return 1 + else if [ ! -z "$OPENSSL_CONF" ]; then litemagenta "For now I am providing the config file in to have GOST support"; outln else