File: ssl2-detection.patch

package info (click to toggle)
python-cryptography 0.6.1-1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 1,896 kB
  • ctags: 2,183
  • sloc: python: 20,385; makefile: 137; ansic: 17; sh: 12
file content (13 lines) | stat: -rw-r--r-- 643 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: python-cryptography/cryptography/hazmat/bindings/openssl/ssl.py
===================================================================
--- python-cryptography.orig/cryptography/hazmat/bindings/openssl/ssl.py	2017-01-01 22:33:41.640198755 +0200
+++ python-cryptography/cryptography/hazmat/bindings/openssl/ssl.py	2017-01-01 22:34:20.336845122 +0200
@@ -384,7 +384,7 @@
 #else
 static const long Cryptography_HAS_SECURE_RENEGOTIATION = 1;
 #endif
-#ifdef OPENSSL_NO_SSL2
+#ifdef OPENSSL_NO_SSL2_METHOD
 static const long Cryptography_HAS_SSL2 = 0;
 SSL_METHOD* (*SSLv2_method)(void) = NULL;
 SSL_METHOD* (*SSLv2_client_method)(void) = NULL;