comparison OrthancFramework/Resources/Patches/civetweb-1.14.patch @ 4701:68635d365a27

patch for compatibility of civetweb 1.14 with openssl 3.0.0
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 21 Jun 2021 17:55:53 +0200
parents
children fddb5d8d0021
comparison
equal deleted inserted replaced
4700:863383e7e582 4701:68635d365a27
1 diff -urEb civetweb-1.14.orig/src/civetweb.c civetweb-1.14/src/civetweb.c
2 --- civetweb-1.14.orig/src/civetweb.c 2021-06-21 17:42:52.343136123 +0200
3 +++ civetweb-1.14/src/civetweb.c 2021-06-21 17:43:11.623158128 +0200
4 @@ -1774,6 +1774,7 @@
5 #if !defined(OPENSSL_API_3_0)
6 #define OPENSSL_API_3_0
7 #endif
8 +#define OPENSSL_REMOVE_THREAD_STATE()
9 #else
10 #if (OPENSSL_VERSION_NUMBER >= 0x10100000L)
11 #if !defined(OPENSSL_API_1_1)