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>2021-06-17 21:46:50 +0200
commit1eaecb17dd5f3682a67756d672e9d48000704875 (patch)
tree7402a7e847b9820a80d95c6686e699366ac84316
parentSkip RDS socket tests that hang frequently (diff)
downloadcpython-1eaecb17dd5f3682a67756d672e9d48000704875.tar.gz
cpython-1eaecb17dd5f3682a67756d672e9d48000704875.tar.bz2
cpython-1eaecb17dd5f3682a67756d672e9d48000704875.zip
ssl: Hard-disable SSLv3 to avoid automagic depsgentoo-3.10.0b3
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 ad5269d7b07..673ac918acf 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 {