diff options
author | 2021-02-03 10:14:49 +0100 | |
---|---|---|
committer | 2024-07-18 16:39:24 +0200 | |
commit | f23fe713eb6903d80132cf25ce84d7a619092db4 (patch) | |
tree | 23476e58f915dcad26047c42543a3c7b39d6cb78 | |
parent | Skip RDS socket tests that hang frequently (diff) | |
download | cpython-f23fe713eb6903d80132cf25ce84d7a619092db4.tar.gz cpython-f23fe713eb6903d80132cf25ce84d7a619092db4.tar.bz2 cpython-f23fe713eb6903d80132cf25ce84d7a619092db4.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 9d50b576ba3..3c32aded400 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -74,6 +74,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 { |