]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Add a warning about LibreSSL support being removed in master.
authorSadie Powell <sadie@witchery.services>
Fri, 15 May 2020 05:41:23 +0000 (06:41 +0100)
committerSadie Powell <sadie@witchery.services>
Fri, 15 May 2020 05:41:23 +0000 (06:41 +0100)
src/modules/extra/m_ssl_openssl.cpp

index d640e98f9d3b8864636c13216383a6131b91f2e8..8f29df1e78643309c29b02203d78692b1e997dfa 100644 (file)
 # pragma GCC diagnostic ignored "-Wdeprecated-declarations"
 #endif
 
+// LibreSSL lies about the version of OpenSSL it is compatible with and is a general pain
+// to support. Support for it was removed in the master branch at the same time that
+// support for OpenSSL pre-1.1 was.
+#if defined __GNUC__ && defined LIBRESSL_VERSION_NUMBER
+# warning LibreSSL support will be discontinued in the future. Consider using the ssl_gnutls or ssl_mbedtls modules instead.
+#endif
+
 // Fix warnings about the use of `long long` on C++03.
 #if defined __clang__
 # pragma clang diagnostic ignored "-Wc++11-long-long"