commit | aa73841a8fdded4a462d045d1eb03899cbeecd65 | [log] [tgz] |
---|---|---|
author | Steve Dower <steve.dower@python.org> | Thu May 16 09:41:36 2019 -0700 |
committer | GitHub <noreply@github.com> | Thu May 16 09:41:36 2019 -0700 |
tree | 993d3f31f94d8c248e7d03340a6ab2b8c23b56bd | |
parent | 876756e4a1a4480eb94ea4312577070078e4b923 [diff] [blame] |
bpo-35926: Add support for OpenSSL 1.1.1b on Windows (GH-11779)
diff --git a/Modules/_ssl.c b/Modules/_ssl.c index fff1a28..30c91f5 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c
@@ -669,7 +669,7 @@ if (msg == NULL) goto fail; - init_value = Py_BuildValue("iN", ssl_errno, msg); + init_value = Py_BuildValue("iN", ERR_GET_REASON(ssl_errno), msg); if (init_value == NULL) goto fail;