16 lines
532 B
Plaintext
16 lines
532 B
Plaintext
All missing API has been available since LibreSSL 2.7.0.
|
|
https://github.com/droe/sslsplit/pull/291
|
|
|
|
Index: ssl.h
|
|
--- ssl.h.orig
|
|
+++ ssl.h
|
|
@@ -79,7 +79,7 @@
|
|
#define OPENSSL_NO_SHA0
|
|
#endif
|
|
|
|
-#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || defined(LIBRESSL_VERSION_NUMBER)
|
|
+#if (OPENSSL_VERSION_NUMBER < 0x10100000L) || (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL)
|
|
#if LIBRESSL_VERSION_NUMBER >= 0x2050100fL
|
|
#define SSL_is_server(ssl) ((ssl)->server)
|
|
#else /* < LibreSSL 2.5.1 and OpenSSL < 1.1.0 */
|