OpenSSL: check for the SSLv2 function in configure

If no SSLv2 was detected in OpenSSL by configure, then we enforce the
OPENSSL_NO_SSL2 define as it seems some people report it not being
defined properly in the OpenSSL headers.
This commit is contained in:
Daniel Stenberg
2011-12-06 14:22:45 +01:00
parent 361cd03d58
commit 2b0e09b0f9
2 changed files with 7 additions and 1 deletions

View File

@@ -1514,7 +1514,8 @@ if test X"$OPT_SSL" != Xno; then
RAND_egd \
ENGINE_cleanup \
CRYPTO_cleanup_all_ex_data \
SSL_get_shutdown )
SSL_get_shutdown \
SSLv2_client_method )
dnl Make an attempt to detect if this is actually yassl's headers and
dnl OpenSSL emulation layer. We still leave everything else believing