-
-
Notifications
You must be signed in to change notification settings - Fork 32k
gh-131423: Update to OpenSSL 3.0.16. #131839
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 4 commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
Update bundled version of OpenSSL to 3.0.16. The new build also disables | ||
uplink support, which may be relevant to embedders but has no impact on | ||
normal use. |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4427,6 +4427,12 @@ _ssl__SSLContext_load_dh_params_impl(PySSLContext *self, PyObject *filepath) | |
FILE *f; | ||
DH *dh; | ||
|
||
#if defined(MS_WINDOWS) && defined(_DEBUG) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. They're opposite. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah yes, what I meant is "is it common to use the _DEBUG macro instead of the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I guess it's personal preference? So it's technically possible to define them both at once, but generally you don't, and I wouldn't suggest it in a codebase like ours because it's almost certainly assuming they are mutually exclusive. |
||
PyErr_SetString(PyExc_RuntimeError, | ||
"unable to load_dh_params on Windows debug build"); | ||
picnixz marked this conversation as resolved.
Show resolved
Hide resolved
|
||
return NULL; | ||
#endif | ||
|
||
f = Py_fopen(filepath, "rb"); | ||
if (f == NULL) | ||
return NULL; | ||
|
Uh oh!
There was an error while loading. Please reload this page.