Merge pull request #54 from nvsofts/fix_libressl_gost

Fix GOST handling in LibreSSL
This commit is contained in:
Dirk Wetter 2015-01-28 09:24:32 +01:00
commit 5163d10a66

View File

@ -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