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;