diff options
author | 2021-02-03 10:14:49 +0100 | |
---|---|---|
committer | 2022-03-18 12:42:35 +0100 | |
commit | 1d70a42ec95f31e30778007feb34e6dd4a5f6220 (patch) | |
tree | 3d828b3aa8a4bf467cf955e7df97a64fa1e7cb17 | |
parent | test.support.unlink: ignore EACCES (diff) | |
download | cpython-1d70a42ec95f31e30778007feb34e6dd4a5f6220.tar.gz cpython-1d70a42ec95f31e30778007feb34e6dd4a5f6220.tar.bz2 cpython-1d70a42ec95f31e30778007feb34e6dd4a5f6220.zip |
ssl: Hard-disable SSLv3 to avoid automagic depsgentoo-2.7.18_p15
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 98c8a5a4a95..eb19686d010 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -76,6 +76,10 @@ #include "openssl/rand.h" #include "openssl/dh.h" +#ifndef OPENSSL_NO_SSL3 +# define OPENSSL_NO_SSL3 1 +#endif + /* SSL error object */ static PyObject *PySSLErrorObject; static PyObject *PySSLZeroReturnErrorObject; |