diff options
author | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-12-28 07:11:34 -0800 |
---|---|---|
committer | Paul Kehrer <paul.l.kehrer@gmail.com> | 2013-12-28 07:11:34 -0800 |
commit | 6e1aec8450784274582343fd0322fa6eb5295ecd (patch) | |
tree | 6e82ddba93f1b7819c19e6f16b294ebe4dc330d5 | |
parent | 28f10001a18c96649003c59beb458d8d865aac88 (diff) | |
parent | b4b58c37a9b86fc609c5f7b695bd1bd082fd8a77 (diff) | |
download | cryptography-6e1aec8450784274582343fd0322fa6eb5295ecd.tar.gz cryptography-6e1aec8450784274582343fd0322fa6eb5295ecd.tar.bz2 cryptography-6e1aec8450784274582343fd0322fa6eb5295ecd.zip |
Merge pull request #363 from exarkun/sni-getservername
add the missing SSL_get_servername prototype
-rw-r--r-- | cryptography/hazmat/backends/openssl/ssl.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cryptography/hazmat/backends/openssl/ssl.py b/cryptography/hazmat/backends/openssl/ssl.py index fb3b17e6..596db05b 100644 --- a/cryptography/hazmat/backends/openssl/ssl.py +++ b/cryptography/hazmat/backends/openssl/ssl.py @@ -246,6 +246,7 @@ 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); void SSL_set_tlsext_host_name(SSL *, char *); void SSL_CTX_set_tlsext_servername_callback( SSL_CTX *, |