diff options
author | cyli <cyli@twistedmatrix.com> | 2013-11-17 18:05:09 -0800 |
---|---|---|
committer | cyli <cyli@twistedmatrix.com> | 2013-12-20 13:39:45 -0800 |
commit | c24597b261249567afee2802c5eda5cd9141a141 (patch) | |
tree | a3ffbf97ef4801d8520ecefa67f2ee75cca99709 | |
parent | 9f2182543e782cde17c1b46908d4c8e8ff01b8fc (diff) | |
download | cryptography-c24597b261249567afee2802c5eda5cd9141a141.tar.gz cryptography-c24597b261249567afee2802c5eda5cd9141a141.tar.bz2 cryptography-c24597b261249567afee2802c5eda5cd9141a141.zip |
Fixes after rebasing
-rw-r--r-- | cryptography/hazmat/backends/openssl/ssl.py | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/cryptography/hazmat/backends/openssl/ssl.py b/cryptography/hazmat/backends/openssl/ssl.py index a3a718bf..15269bd5 100644 --- a/cryptography/hazmat/backends/openssl/ssl.py +++ b/cryptography/hazmat/backends/openssl/ssl.py @@ -190,50 +190,6 @@ long SSL_set_mode(SSL *, long); long SSL_get_mode(SSL *); long SSL_set_options(SSL *, long); -long SSL_get_options(SSL *); - -int SSL_want_read(const SSL *); -int SSL_want_write(const SSL *); - -int SSL_total_renegotiations(const SSL *); - -long SSL_CTX_set_options(SSL_CTX *, long); -long SSL_CTX_get_options(SSL_CTX *); -long SSL_CTX_set_mode(SSL_CTX *, long); -long SSL_CTX_get_mode(SSL_CTX *); -long SSL_CTX_set_session_cache_mode(SSL_CTX *, long); -long SSL_CTX_get_session_cache_mode(SSL_CTX *); -long SSL_CTX_set_tmp_dh(SSL_CTX *, DH *); -long SSL_CTX_add_extra_chain_cert(SSL_CTX *, X509 *); - -/*- These aren't macros these functions are all const X on openssl > 1.0.x -*/ - -/* methods */ -const SSL_METHOD *SSLv3_method(); -const SSL_METHOD *SSLv3_server_method(); -const SSL_METHOD *SSLv3_client_method(); -const SSL_METHOD *TLSv1_method(); -const SSL_METHOD *TLSv1_server_method(); -const SSL_METHOD *TLSv1_client_method(); -const SSL_METHOD *SSLv23_method(); -const SSL_METHOD *SSLv23_server_method(); -const SSL_METHOD *SSLv23_client_method(); - -/*- These aren't macros these arguments are all const X on openssl > 1.0.x -*/ -SSL_CTX *SSL_CTX_new(const SSL_METHOD *); -long SSL_CTX_get_timeout(const SSL_CTX *); - -/* SNI APIs were introduced in OpenSSL 1.0.0. To continue to support - * earlier versions some special handling of these is necessary. - */ -const char *SSL_get_servername(const SSL *, const int); -""" - -MACROS = """ -long SSL_set_mode(SSL *, long); -long SSL_get_mode(SSL *); - -long SSL_set_options(SSL *, long); long SSL_clear_options(SSL *, long); long SSL_get_options(SSL *); |