From eb4e7b103530907311af4027280a48231a2f17be Mon Sep 17 00:00:00 2001 From: Paul Kehrer Date: Sun, 2 Dec 2018 12:29:00 +0800 Subject: reuse the libressl branch for OpenSSL built with OPENSSL_NO_PSK (#4619) --- src/_cffi_src/openssl/ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/_cffi_src/openssl') diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index f0b8939c..82639a5d 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -756,7 +756,7 @@ const long (*SSL_CTX_set1_sigalgs_list)(SSL_CTX *, const char *) = NULL; static const long Cryptography_HAS_SIGALGS = 1; #endif -#if CRYPTOGRAPHY_IS_LIBRESSL +#if CRYPTOGRAPHY_IS_LIBRESSL || defined(OPENSSL_NO_PSK) static const long Cryptography_HAS_PSK = 0; int (*SSL_CTX_use_psk_identity_hint)(SSL_CTX *, const char *) = NULL; void (*SSL_CTX_set_psk_server_callback)(SSL_CTX *, -- cgit v1.2.3