(Merge 3.4) 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".
This commit is contained in:
Victor Stinner 2014-07-07 21:52:49 +02:00
commit e03de09ff2
1 changed files with 1 additions and 1 deletions

View File

@ -3414,7 +3414,7 @@ asn1obj2py(ASN1_OBJECT *obj)
int nid; int nid;
const char *ln, *sn; const char *ln, *sn;
char buf[100]; char buf[100];
int buflen; Py_ssize_t buflen;
nid = OBJ_obj2nid(obj); nid = OBJ_obj2nid(obj);
if (nid == NID_undef) { if (nid == NID_undef) {