view OrthancFramework/Resources/Patches/civetweb-1.14.patch @ 4703:c832cb6ef4f9 openssl-3.x

Dropped support for static compilation of OpenSSL 1.0.2 and 1.1.1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 22 Jun 2021 07:17:43 +0200
parents 68635d365a27
children fddb5d8d0021
line wrap: on
line source

diff -urEb civetweb-1.14.orig/src/civetweb.c civetweb-1.14/src/civetweb.c
--- civetweb-1.14.orig/src/civetweb.c	2021-06-21 17:42:52.343136123 +0200
+++ civetweb-1.14/src/civetweb.c	2021-06-21 17:43:11.623158128 +0200
@@ -1774,6 +1774,7 @@
 #if !defined(OPENSSL_API_3_0)
 #define OPENSSL_API_3_0
 #endif
+#define OPENSSL_REMOVE_THREAD_STATE()
 #else
 #if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
 #if !defined(OPENSSL_API_1_1)