diff options
author | Michał Górny <mgorny@gentoo.org> | 2021-02-03 10:14:49 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-11-06 01:48:32 +0000 |
commit | 19e53cf7cccc5798b8f0c1c9964d055460818ca7 (patch) | |
tree | 3473e39891b4ccf049c2258cbc2059a20127e9fb | |
parent | Skip RDS socket tests that hang frequently (diff) | |
download | cpython-19e53cf7cccc5798b8f0c1c9964d055460818ca7.tar.gz cpython-19e53cf7cccc5798b8f0c1c9964d055460818ca7.tar.bz2 cpython-19e53cf7cccc5798b8f0c1c9964d055460818ca7.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 b2e241a0a33..b6097d69aba 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 { |