aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhiBo <phibo@dinotools.org>2014-05-04 14:00:48 +0200
committerPhiBo <phibo@dinotools.org>2014-05-04 14:00:48 +0200
commit8772e58ef2a43406db1f30cf319629f0fefcf69b (patch)
tree4a171c4154d6d274d522a122bd99cf31a3bee382
parentb5cfa8d98d6ecf63861e1feba47654cddfce1f4d (diff)
downloadcryptography-8772e58ef2a43406db1f30cf319629f0fefcf69b.tar.gz
cryptography-8772e58ef2a43406db1f30cf319629f0fefcf69b.tar.bz2
cryptography-8772e58ef2a43406db1f30cf319629f0fefcf69b.zip
Add macro to get secure renegotiation support
-rw-r--r--cryptography/hazmat/bindings/openssl/ssl.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/cryptography/hazmat/bindings/openssl/ssl.py b/cryptography/hazmat/bindings/openssl/ssl.py
index d473e2db..45cfb539 100644
--- a/cryptography/hazmat/bindings/openssl/ssl.py
+++ b/cryptography/hazmat/bindings/openssl/ssl.py
@@ -86,6 +86,7 @@ static const long SSL_OP_COOKIE_EXCHANGE;
static const long SSL_OP_NO_TICKET;
static const long SSL_OP_ALL;
static const long SSL_OP_SINGLE_ECDH_USE;
+static const long SSL_OP_ALLOW_UNSAFE_LEGACY_RENEGOTIATION;
static const long SSL_VERIFY_PEER;
static const long SSL_VERIFY_FAIL_IF_NO_PEER_CERT;
static const long SSL_VERIFY_CLIENT_ONCE;
@@ -252,6 +253,7 @@ int SSL_want_read(const SSL *);
int SSL_want_write(const SSL *);
long SSL_total_renegotiations(SSL *);
+long SSL_get_secure_renegotiation_support(SSL *ssl);
/* Defined as unsigned long because SSL_OP_ALL is greater than signed 32-bit
and Windows defines long as 32-bit. */