diff options
author | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-12-23 11:16:12 -0500 |
---|---|---|
committer | Jean-Paul Calderone <exarkun@twistedmatrix.com> | 2013-12-23 11:16:12 -0500 |
commit | ab51df1d664fafe1426748e38ddb125cf31d4052 (patch) | |
tree | 97658f3d292ff7696fe2e35aef4278105b43f977 | |
parent | 21a37548b5c1cd2df9f2e3e7131e4ae3d72c333a (diff) | |
download | cryptography-ab51df1d664fafe1426748e38ddb125cf31d4052.tar.gz cryptography-ab51df1d664fafe1426748e38ddb125cf31d4052.tar.bz2 cryptography-ab51df1d664fafe1426748e38ddb125cf31d4052.zip |
Finish that conditional support
-rw-r--r-- | cryptography/hazmat/backends/openssl/ssl.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cryptography/hazmat/backends/openssl/ssl.py b/cryptography/hazmat/backends/openssl/ssl.py index 3af0074e..a1acde38 100644 --- a/cryptography/hazmat/backends/openssl/ssl.py +++ b/cryptography/hazmat/backends/openssl/ssl.py @@ -22,6 +22,11 @@ static const int Cryptography_HAS_SSL2; /* Internally invented symbol to tell us if SNI is supported */ static const int Cryptography_HAS_TLSEXT_HOSTNAME; +/* Internally invented symbol to tell us if SSL_MODE_RELEASE_BUFFERS is + * supported + */ +static const int Cryptography_HAS_RELEASE_BUFFERS; + static const int SSL_FILETYPE_PEM; static const int SSL_FILETYPE_ASN1; static const int SSL_ERROR_NONE; @@ -91,6 +96,7 @@ static const int SSL_CB_CONNECT_LOOP; static const int SSL_CB_CONNECT_EXIT; static const int SSL_CB_HANDSHAKE_START; static const int SSL_CB_HANDSHAKE_DONE; +static const int SSL_MODE_RELEASE_BUFFERS; static const int SSL_MODE_ENABLE_PARTIAL_WRITE; static const int SSL_MODE_ACCEPT_MOVING_WRITE_BUFFER; static const int SSL_MODE_AUTO_RETRY; |