Group :: Development/Python3
RPM: python3
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: python3-sslv2-compat.patch
Download
Download
diff --git a/python3/Modules/_ssl.c b/python3/Modules/_ssl.c
index 60712021..22b4b176 100644
--- a/python3/Modules/_ssl.c
+++ b/python3/Modules/_ssl.c
@@ -3131,7 +3131,7 @@ _ssl__SSLContext_impl(PyTypeObject *type, int proto_version)
#endif
} else {
/* SSLv2 needs MD5 */
- result = SSL_CTX_set_cipher_list(ctx, "HIGH:!aNULL:!eNULL");
+ result = SSL_CTX_set_cipher_list(ctx, "SSLv2:!aNULL:!eNULL");
}
if (result == 0) {
Py_DECREF(self);