python/domdf_python_tools: update to 3.9.0
[oi-userland.git] / components / sysutils / stunnel / patches / 02-openssl_no_deprecated.patch
blob936463ac8e2dee79c9d0b03891e307d6edd9d098
2 The logic in this test is wrong; CRYPTO_set_id_callback is only available
3 if both of those conditions are true.
5 This has been reported to upstream and the patch below is their preferred
6 method to fix it. We should not need our local patch starting with 5.61
9 diff -ur stunnel-5.60.orig/src/sthreads.c stunnel-5.60/src/sthreads.c
10 --- stunnel-5.60.orig/src/sthreads.c 2021-02-10 05:39:36.000000000 +0000
11 +++ stunnel-5.60/src/sthreads.c 2021-11-19 01:54:06.307846225 +0000
12 @@ -112,7 +112,7 @@
13 #if OPENSSL_VERSION_NUMBER>=0x10000000L && OPENSSL_VERSION_NUMBER<0x10100000L
14 CRYPTO_THREADID_set_callback(threadid_func);
15 #endif
16 -#if OPENSSL_VERSION_NUMBER<0x10000000L || !defined(OPENSSL_NO_DEPRECATED)
17 +#if OPENSSL_VERSION_NUMBER<0x10000000L
18 CRYPTO_set_id_callback(stunnel_thread_id);
19 #endif