mirror of
https://github.com/curl/curl.git
synced 2026-07-30 02:58:08 +03:00
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:
parent
361cd03d58
commit
2b0e09b0f9
2 changed files with 7 additions and 1 deletions
|
|
@ -127,6 +127,11 @@
|
|||
#define HAVE_ERR_REMOVE_THREAD_STATE 1
|
||||
#endif
|
||||
|
||||
#ifndef HAVE_SSLV2_CLIENT_METHOD
|
||||
#undef OPENSSL_NO_SSL2 /* undef first to avoid compiler warnings */
|
||||
#define OPENSSL_NO_SSL2
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Number of bytes to read from the random number seed file. This must be
|
||||
* a finite value (because some entropy "files" like /dev/urandom have
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue