Fix bug in OpenSSL v2 support testing

This commit is contained in:
Manuel Pégourié-Gonnard 2014-08-30 22:09:36 +02:00
parent 644e8f377d
commit a4afadfccd

View File

@ -69,7 +69,7 @@ get_options() {
# skip next test if OpenSSL can't send SSLv2 ClientHello
requires_openssl_with_sslv2() {
if [ -z "${OPENSSL_HAS_SSL2:-}" ]; then
if openssl ciphers -ssl2 >/dev/null 2>&1; then
if $OPENSSL_CMD ciphers -ssl2 >/dev/null 2>&1; then
OPENSSL_HAS_SSL2="YES"
else
OPENSSL_HAS_SSL2="NO"