19 lines
678 B
Diff
19 lines
678 B
Diff
$OpenBSD: patch-src__cffi_src_openssl_ssl_py,v 1.2 2019/04/19 10:18:16 sthen Exp $
|
|
|
|
Index: src/_cffi_src/openssl/ssl.py
|
|
--- src/_cffi_src/openssl/ssl.py.orig
|
|
+++ src/_cffi_src/openssl/ssl.py
|
|
@@ -721,9 +721,11 @@ static const long TLS_ST_OK = 0;
|
|
|
|
#if CRYPTOGRAPHY_OPENSSL_LESS_THAN_102
|
|
static const long Cryptography_HAS_GENERIC_DTLS_METHOD = 0;
|
|
+#if !CRYPTOGRAPHY_IS_LIBRESSL
|
|
const SSL_METHOD *(*DTLS_method)(void) = NULL;
|
|
const SSL_METHOD *(*DTLS_server_method)(void) = NULL;
|
|
const SSL_METHOD *(*DTLS_client_method)(void) = NULL;
|
|
+#endif
|
|
static const long SSL_OP_NO_DTLSv1 = 0;
|
|
static const long SSL_OP_NO_DTLSv1_2 = 0;
|
|
long (*DTLS_set_link_mtu)(SSL *, long) = NULL;
|
|
|