We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c4180 commit 327ff26Copy full SHA for 327ff26
httplib.h
@@ -273,7 +273,7 @@ using socket_t = int;
273
#include <iostream>
274
#include <sstream>
275
276
-#if defined(OPENSSL_IS_BORINGSSL)
+#if defined(OPENSSL_IS_BORINGSSL) || defined(LIBRESSL_VERSION_NUMBER)
277
#if OPENSSL_VERSION_NUMBER < 0x1010107f
278
#error Please use OpenSSL or a current version of BoringSSL
279
#endif
@@ -786,7 +786,7 @@ class ThreadPool final : public TaskQueue {
786
fn();
787
}
788
789
-#if defined(CPPHTTPLIB_OPENSSL_SUPPORT) && !defined(OPENSSL_IS_BORINGSSL)
+#if defined(CPPHTTPLIB_OPENSSL_SUPPORT) && !defined(OPENSSL_IS_BORINGSSL) && !defined(LIBRESSL_VERSION_NUMBER)
790
OPENSSL_thread_stop();
791
792
0 commit comments