blob: 1464089e21b4a7cceb293039c7a19471612278b5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
diff -urN cryptography-38.0.1.orig/src/_cffi_src/openssl/crypto.py cryptography-38.0.1/src/_cffi_src/openssl/crypto.py
--- cryptography-38.0.1.orig/src/_cffi_src/openssl/crypto.py 2022-10-09 14:12:20.634321377 +0200
+++ cryptography-38.0.1/src/_cffi_src/openssl/crypto.py 2022-10-09 14:13:19.612325625 +0200
@@ -75,12 +75,7 @@
# define OPENSSL_DIR SSLEAY_DIR
#endif
-#if CRYPTOGRAPHY_IS_LIBRESSL
-static const long Cryptography_HAS_OPENSSL_CLEANUP = 0;
-void (*OPENSSL_cleanup)(void) = NULL;
-#else
static const long Cryptography_HAS_OPENSSL_CLEANUP = 1;
-#endif
#if CRYPTOGRAPHY_IS_LIBRESSL || CRYPTOGRAPHY_IS_BORINGSSL
static const long Cryptography_HAS_MEM_FUNCTIONS = 0;
|