Skip to content

closes bpo-39953: Update OpenSSL error codes table. #19082

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

Merged
merged 1 commit into from
Apr 11, 2020
Merged

closes bpo-39953: Update OpenSSL error codes table. #19082

merged 1 commit into from
Apr 11, 2020

Conversation

benjaminp
Copy link
Contributor

@benjaminp benjaminp commented Mar 19, 2020

I updated the error codes using the OpenSSL 1.1.1f source tree.

https://bugs.python.org/issue39953

Comment on lines 137 to 141
#ifdef PEM_R_UNSUPPORTED_CIPHER
{"UNSUPPORTED_CIPHER", ERR_LIB_PEM, PEM_R_UNSUPPORTED_CIPHER},
#else
{"UNSUPPORTED_CIPHER", ERR_LIB_PEM, 113},
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmmm this error was accurate..., pem unsupported cipher value is 113 too.
Is this removed because we can't detect the source of error and 113 (ssl source) is invalid configuration?

Contrast this change with the change for error 112 which is kept at pem source and also updated at ssl source.

I updated the error codes using the OpenSSL 1.1.1f source tree.
@benjaminp benjaminp merged commit 3e0dd37 into python:master Apr 11, 2020
@miss-islington
Copy link
Contributor

Thanks @benjaminp for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖

@benjaminp benjaminp deleted the up-openssl branch April 11, 2020 20:36
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Apr 11, 2020
I updated the error codes using the OpenSSL 1.1.1f source tree.
(cherry picked from commit 3e0dd37)

Co-authored-by: Benjamin Peterson <[email protected]>
@bedevere-bot
Copy link

GH-19478 is a backport of this pull request to the 3.8 branch.

miss-islington added a commit that referenced this pull request Apr 11, 2020
I updated the error codes using the OpenSSL 1.1.1f source tree.
(cherry picked from commit 3e0dd37)

Co-authored-by: Benjamin Peterson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants