diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-03 10:14:49 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2024-06-06 03:10:43 +0200 |
commit | 66620ca9f932bef4136b048b3284d3514560aa58 (patch) | |
tree | c63170391162d1c1e48258a0a771c006597cdc69 | |
parent | Skip RDS socket tests that hang frequently (diff) | |
download | cpython-66620ca9f932bef4136b048b3284d3514560aa58.tar.gz cpython-66620ca9f932bef4136b048b3284d3514560aa58.tar.bz2 cpython-66620ca9f932bef4136b048b3284d3514560aa58.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 9d50b576ba..3c32aded40 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 { |