mirror of
https://github.com/sonertari/SSLproxy
synced 2024-11-04 12:00:15 +00:00
Fix LibreSSL version for OPENSSL_NO_SHA0, SHA-0 support was removed in LIBRESSL_VERSION_NUMBER >= 0x20030001L
This commit is contained in:
parent
08aba78815
commit
3e4ad49f70
2
ssl.h
2
ssl.h
@ -79,7 +79,7 @@
|
||||
* because OPENSSL_VERSION_NUMBER in LibreSSL is always 0x20000000L,
|
||||
* hence OPENSSL_VERSION_NUMBER >= 0x10100000L condition is always satisfied
|
||||
*/
|
||||
#if ((OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x20900000L)) && !defined(OPENSSL_NO_SHA0)
|
||||
#if ((OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER)) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 0x20030001L)) && !defined(OPENSSL_NO_SHA0)
|
||||
#define OPENSSL_NO_SHA0
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user