summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorBarry Warsaw <barry@python.org>2013-11-21 23:57:41 (GMT)
committerBarry Warsaw <barry@python.org>2013-11-21 23:57:41 (GMT)
commit99fc416b238a486bb9735e36cd374bf00d4af0c8 (patch)
tree133eff0fc8d930e3a7aea068480e33140d4ca37c /Modules/_ssl.c
parent197a7702310e6a6cf67b658c66dd3b43ee12439b (diff)
parentba723200ce3effa5bea05a10fd01e3bb89ea8da7 (diff)
downloadcpython-99fc416b238a486bb9735e36cd374bf00d4af0c8.zip
cpython-99fc416b238a486bb9735e36cd374bf00d4af0c8.tar.gz
cpython-99fc416b238a486bb9735e36cd374bf00d4af0c8.tar.bz2
trunk merge
Diffstat (limited to 'Modules/_ssl.c')
-rw-r--r--Modules/_ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_ssl.c b/Modules/_ssl.c
index d2f0d92..69b1eef 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -2520,7 +2520,7 @@ _add_ca_certs(PySSLContext *self, void *data, Py_ssize_t len,
return -1;
}
- biobuf = BIO_new_mem_buf(data, len);
+ biobuf = BIO_new_mem_buf(data, (int)len);
if (biobuf == NULL) {
_setSSLError("Can't allocate buffer", 0, __FILE__, __LINE__);
return -1;