From: Victor Stinner Date: Mon, 7 Jul 2014 19:52:29 +0000 (+0200) Subject: Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires X-Git-Tag: v3.4.2rc1~255 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=cd75298611cbb79336e2a46ade2b7ae586e3d860;p=thirdparty%2FPython%2Fcpython.git Issue #21781, _ssl: Fix asn1obj2py() on Windows 64-bit, "s#" format requires size to be a Py_ssize_t, not an int. _ssl.c is now "Py_ssize_t clean". --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 12ffe52c2f0d..5a9a13b82178 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -3416,7 +3416,7 @@ asn1obj2py(ASN1_OBJECT *obj) int nid; const char *ln, *sn; char buf[100]; - int buflen; + Py_ssize_t buflen; nid = OBJ_obj2nid(obj); if (nid == NID_undef) {