summaryrefslogtreecommitdiffstats
path: root/Modules/_ssl.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-12-14 04:38:13 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-12-14 04:38:13 (GMT)
commita63f268351ea8116c08f6b9ee1028f5eec3d5158 (patch)
treee9e23b1337f9d76f5af31acbdc27a8861a780012 /Modules/_ssl.c
parent2518b25578b5aa8ffdef1666cd0d3c0786f83fb2 (diff)
downloadcpython-a63f268351ea8116c08f6b9ee1028f5eec3d5158.zip
cpython-a63f268351ea8116c08f6b9ee1028f5eec3d5158.tar.gz
cpython-a63f268351ea8116c08f6b9ee1028f5eec3d5158.tar.bz2
Fixed warning in ssl module
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 d3b0aae..44eaa18 100644
--- a/Modules/_ssl.c
+++ b/Modules/_ssl.c
@@ -660,7 +660,7 @@ _get_peer_alt_names (X509 *certificate) {
char buf[2048];
char *vptr;
int len;
- unsigned char *p;
+ const unsigned char *p;
if (certificate == NULL)
return peer_alt_names;