aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2021-02-03 10:14:49 +0100
committerMichał Górny <mgorny@gentoo.org>2024-03-20 05:59:24 +0100
commitdb43fd4c5f1501e3a7a1db3340c912ea124a40c3 (patch)
tree03544c3cc39dba45f5df727b9fd26b5ee19f6696
parentSkip RDS socket tests that hang frequently (diff)
downloadcpython-db43fd4c5f1501e3a7a1db3340c912ea124a40c3.tar.gz
cpython-db43fd4c5f1501e3a7a1db3340c912ea124a40c3.tar.bz2
cpython-db43fd4c5f1501e3a7a1db3340c912ea124a40c3.zip
ssl: Hard-disable SSLv3 to avoid automagic deps
Bug: https://bugs.gentoo.org/767886
-rw-r--r--Modules/_ssl.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index e637830c7af..a026a3b2c50 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -67,6 +67,10 @@
# error "OPENSSL_THREADS is not defined, Python requires thread-safe OpenSSL"
#endif
+#ifndef OPENSSL_NO_SSL3
+# define OPENSSL_NO_SSL3 1
+#endif
+
struct py_ssl_error_code {