mirror of https://github.com/python/cpython.git
Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC IV attack countermeasure.
This commit is contained in:
commit
374b4ea9da
|
@ -90,6 +90,9 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #13885: CVE-2011-3389: the _ssl module would always disable the CBC
|
||||||
|
IV attack countermeasure.
|
||||||
|
|
||||||
- Issue #6631: Disallow relative file paths in urllib urlopen methods.
|
- Issue #6631: Disallow relative file paths in urllib urlopen methods.
|
||||||
|
|
||||||
- Issue #13781: Prevent gzip.GzipFile from using the dummy filename provided by
|
- Issue #13781: Prevent gzip.GzipFile from using the dummy filename provided by
|
||||||
|
|
|
@ -369,7 +369,8 @@ newPySSLObject(PySocketSockObject *Sock, char *key_file, char *cert_file,
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ssl compatibility */
|
/* ssl compatibility */
|
||||||
SSL_CTX_set_options(self->ctx, SSL_OP_ALL);
|
SSL_CTX_set_options(self->ctx,
|
||||||
|
SSL_OP_ALL & ~SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS);
|
||||||
|
|
||||||
verification_mode = SSL_VERIFY_NONE;
|
verification_mode = SSL_VERIFY_NONE;
|
||||||
if (certreq == PY_SSL_CERT_OPTIONAL)
|
if (certreq == PY_SSL_CERT_OPTIONAL)
|
||||||
|
|
Loading…
Reference in New Issue