mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user