Kaydet (Commit) e03de09f authored tarafından Victor Stinner's avatar Victor Stinner

(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".
...@@ -3414,7 +3414,7 @@ asn1obj2py(ASN1_OBJECT *obj) ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment