Author: Armin Rigo <[email protected]>
Branch: space-newtext
Changeset: r90158:d17ec969e353
Date: 2017-02-15 19:17 +0100
http://bitbucket.org/pypy/pypy/changeset/d17ec969e353/
Log: fix
diff --git a/pypy/module/_ssl/interp_win32.py b/pypy/module/_ssl/interp_win32.py
--- a/pypy/module/_ssl/interp_win32.py
+++ b/pypy/module/_ssl/interp_win32.py
@@ -70,7 +70,7 @@
elif encodingType == PKCS_7_ASN_ENCODING:
return space.newtext("pkcs_7_asn")
else:
- return space.newtext(encodingType)
+ return space.newint(encodingType)
def w_parseKeyUsage(space, pCertCtx, flags):
with lltype.scoped_alloc(rwin32.LPDWORD.TO, 1) as size_ptr:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit