Merge pull request #4853 from StevenHessing/noddos
[feed/packages.git] / lang / python / python-cryptography / patches / 002-remove-undefined-dtls-methods.patch
1 diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py
2 index 8bda4e0..aa81060 100644
3 --- a/src/_cffi_src/openssl/ssl.py
4 +++ b/src/_cffi_src/openssl/ssl.py
5 @@ -595,9 +595,6 @@ static const long TLS_ST_OK = 0;
6
7 #if defined(OPENSSL_NO_DTLS) || CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
8 static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 0;
9 -const SSL_METHOD *(*DTLS_method)(void) = NULL;
10 -const SSL_METHOD *(*DTLS_server_method)(void) = NULL;
11 -const SSL_METHOD *(*DTLS_client_method)(void) = NULL;
12 #else
13 static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1;
14 #endif