mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-03 23:39:45 +01:00
Merge pull request #54 from nvsofts/fix_libressl_gost
Fix GOST handling in LibreSSL
This commit is contained in:
commit
5163d10a66
@ -2019,10 +2019,12 @@ cleanup () {
|
|||||||
|
|
||||||
# for now only GOST engine
|
# for now only GOST engine
|
||||||
initialize_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"
|
litemagenta "No engine or GOST support via engine with your $OPENSSL"; outln "\n"
|
||||||
return 1
|
return 1
|
||||||
else
|
elif echo $osslver | grep -q LibreSSL; then
|
||||||
|
return 1
|
||||||
|
else
|
||||||
if [ ! -z "$OPENSSL_CONF" ]; then
|
if [ ! -z "$OPENSSL_CONF" ]; then
|
||||||
litemagenta "For now I am providing the config file in to have GOST support"; outln
|
litemagenta "For now I am providing the config file in to have GOST support"; outln
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user