From cd75298611cbb79336e2a46ade2b7ae586e3d860 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 7 Jul 2014 21:52:29 +0200 Subject: 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". --- Modules/_ssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/_ssl.c b/Modules/_ssl.c index 12ffe52..5a9a13b 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) { -- cgit v0.12