diff options
| author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-07 21:52:29 +0200 |
|---|---|---|
| committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-07 21:52:29 +0200 |
| commit | cd75298611cbb79336e2a46ade2b7ae586e3d860 (patch) | |
| tree | 49e7ace86dba3f507be0028f883271ad9e5f7d86 | |
| parent | ef03565567d3648f6dd81f8ab89648f1d9f6b4aa (diff) | |
| download | cpython-git-cd75298611cbb79336e2a46ade2b7ae586e3d860.tar.gz | |
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".
| -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 12ffe52c2f..5a9a13b821 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) { |
