diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-07 19:52:29 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-07 19:52:29 (GMT) |
commit | cd75298611cbb79336e2a46ade2b7ae586e3d860 (patch) | |
tree | 49e7ace86dba3f507be0028f883271ad9e5f7d86 /Modules/_ssl.c | |
parent | ef03565567d3648f6dd81f8ab89648f1d9f6b4aa (diff) | |
download | cpython-cd75298611cbb79336e2a46ade2b7ae586e3d860.zip cpython-cd75298611cbb79336e2a46ade2b7ae586e3d860.tar.gz cpython-cd75298611cbb79336e2a46ade2b7ae586e3d860.tar.bz2 |
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".
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r-- | Modules/_ssl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { |