From 538a953f1f67cafdb06840427eb5d2a7cad1a518 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sat, 8 Jul 2017 17:35:41 -0400 Subject: Remove conditionals we never use. (#3766) * Remove conditionals we never use. Refs #3763 * put this back --- src/_cffi_src/openssl/ssl.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/_cffi_src') diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index 8fef9460..8bda4e01 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -602,7 +602,6 @@ const SSL_METHOD *(*DTLS_client_method)(void) = NULL; static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 1; #endif -#ifndef OPENSSL_NO_DTLS static const long Cryptography_HAS_DTLS = 1; /* Wrap DTLSv1_get_timeout to avoid cffi to handle a 'struct timeval'. */ long Cryptography_DTLSv1_get_timeout(SSL *ssl, time_t *ptv_sec, @@ -622,9 +621,4 @@ long Cryptography_DTLSv1_get_timeout(SSL *ssl, time_t *ptv_sec, return r; } -#else -static const long Cryptography_HAS_DTLS = 0; -long (*DTLSv1_get_timeout_wrapped)(SSL *, time_t *, long int *) = NULL; -long (*DTLSv1_handle_timeout)(SSL *) = NULL; -#endif """ -- cgit v1.2.3