SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
16
lang/python/2.7/patches/patch-Modules__ssl_c
Normal file
16
lang/python/2.7/patches/patch-Modules__ssl_c
Normal file
|
@ -0,0 +1,16 @@
|
|||
XXX maybe this can go away now we have auto-init, I'm not sure exactly
|
||||
what python's lock protects
|
||||
|
||||
Index: Modules/_ssl.c
|
||||
--- Modules/_ssl.c.orig
|
||||
+++ Modules/_ssl.c
|
||||
@@ -164,6 +164,9 @@ struct py_ssl_library_code {
|
||||
#if defined(OPENSSL_VERSION_1_1) && !defined(OPENSSL_NO_SSL2)
|
||||
#define OPENSSL_NO_SSL2
|
||||
#endif
|
||||
+#if defined(LIBRESSL_VERSION_NUMBER) && defined(WITH_THREAD)
|
||||
+#define HAVE_OPENSSL_CRYPTO_LOCK
|
||||
+#endif
|
||||
|
||||
#ifndef PY_OPENSSL_1_1_API
|
||||
/* OpenSSL 1.1 API shims for OpenSSL < 1.1.0 and LibreSSL < 2.7.0 */
|
Loading…
Add table
Add a link
Reference in a new issue