diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2021-11-04 16:21:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-05 04:21:38 +0800 |
| commit | eb4ed0529198ad63834fa9e3fa23a62d6ff08aea (patch) | |
| tree | 3ec718cf4fd42140e89a122f0e1788802feb60ab /src/_cffi_src | |
| parent | 81b374784441777993cde3f648815971b315ce6c (diff) | |
| download | cryptography-eb4ed0529198ad63834fa9e3fa23a62d6ff08aea.tar.gz | |
Added an additional check for boringssl in the ssl bindings (#6547)
Diffstat (limited to 'src/_cffi_src')
| -rw-r--r-- | src/_cffi_src/openssl/ssl.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/_cffi_src/openssl/ssl.py b/src/_cffi_src/openssl/ssl.py index cef83fbc6..814910252 100644 --- a/src/_cffi_src/openssl/ssl.py +++ b/src/_cffi_src/openssl/ssl.py @@ -592,7 +592,7 @@ static const long TLS_ST_BEFORE = 0; static const long TLS_ST_OK = 0; #endif -#if CRYPTOGRAPHY_IS_LIBRESSL +#if CRYPTOGRAPHY_IS_LIBRESSL || CRYPTOGRAPHY_IS_BORINGSSL #if CRYPTOGRAPHY_LIBRESSL_LESS_THAN_332 static const long SSL_OP_NO_DTLSv1 = 0; static const long SSL_OP_NO_DTLSv1_2 = 0; |
