diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2014-07-07 19:52:49 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2014-07-07 19:52:49 (GMT) |
commit | e03de09ff2206dc87c8f39de765dd1e1de0a867d (patch) | |
tree | cc28fbcfe89adad3333b8ecf0a83d8f6006ee2bf | |
parent | 269e83fd0247858d7b83374eb6dda77ec5ec9ac9 (diff) | |
parent | cd75298611cbb79336e2a46ade2b7ae586e3d860 (diff) | |
download | cpython-e03de09ff2206dc87c8f39de765dd1e1de0a867d.zip cpython-e03de09ff2206dc87c8f39de765dd1e1de0a867d.tar.gz cpython-e03de09ff2206dc87c8f39de765dd1e1de0a867d.tar.bz2 |
(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".
-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 27b3519..d42c3ce 100644 --- a/Modules/_ssl.c +++ b/Modules/_ssl.c @@ -3414,7 +3414,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) { |