mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-01-11 03:00:57 +01:00
Avoid conflicts of OpenSSL 1.1.1 config file
This addresses a bug where openssl s_client connects hiccuped because of newer config files which our openssl 1.0.2 couldn't swallow. It appeared first on Debian. FIX #1117 FIX #1098
This commit is contained in:
parent
45c6f98382
commit
485c09461b
@ -11880,11 +11880,15 @@ initialize_engine(){
|
|||||||
outln
|
outln
|
||||||
pr_warning "No engine or GOST support via engine with your $OPENSSL"; outln
|
pr_warning "No engine or GOST support via engine with your $OPENSSL"; outln
|
||||||
fileout_insert_warning "engine_problem" "WARN" "No engine or GOST support via engine with your $OPENSSL"
|
fileout_insert_warning "engine_problem" "WARN" "No engine or GOST support via engine with your $OPENSSL"
|
||||||
|
# Avoid clashes of OpenSSL 1.1.1 config file with our openssl 1.0.2. This is for Debian 10
|
||||||
|
export OPENSSL_CONF=''
|
||||||
return 1
|
return 1
|
||||||
elif $OPENSSL engine gost -vvvv -t -c 2>&1 | grep -iq "No such" ; then
|
elif $OPENSSL engine gost -vvvv -t -c 2>&1 | grep -iq "No such" ; then
|
||||||
outln
|
outln
|
||||||
pr_warning "No engine or GOST support via engine with your $OPENSSL"; outln
|
pr_warning "No engine or GOST support via engine with your $OPENSSL"; outln
|
||||||
fileout_insert_warning "engine_problem" "WARN" "No engine or GOST support via engine with your $OPENSSL"
|
fileout_insert_warning "engine_problem" "WARN" "No engine or GOST support via engine with your $OPENSSL"
|
||||||
|
# Avoid clashes of OpenSSL 1.1.1 config file with our openssl 1.0.2. This is for Debian 10
|
||||||
|
export OPENSSL_CONF=''
|
||||||
return 1
|
return 1
|
||||||
else # we have engine support
|
else # we have engine support
|
||||||
if [[ -n "$OPENSSL_CONF" ]]; then
|
if [[ -n "$OPENSSL_CONF" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user