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;