diff options
author | 2021-02-03 10:14:49 +0100 | |
---|---|---|
committer | 2024-09-07 08:27:21 +0200 | |
commit | 55e52d449a7681d6b5acd30e74fc933c65a0ef7c (patch) | |
tree | 1ae63a269bc879e5ee63ed10edc44b8761aa0f41 | |
parent | Skip RDS socket tests that hang frequently (diff) | |
download | cpython-55e52d449a7681d6b5acd30e74fc933c65a0ef7c.tar.gz cpython-55e52d449a7681d6b5acd30e74fc933c65a0ef7c.tar.bz2 cpython-55e52d449a7681d6b5acd30e74fc933c65a0ef7c.zip |
ssl: Hard-disable SSLv3 to avoid automagic deps
Bug: https://bugs.gentoo.org/767886
-rw-r--r-- | Modules/_ssl.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 85fbc162823..90754edcbff 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -69,6 +69,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 { |