From: Christian Heimes Date: Fri, 14 Dec 2007 04:38:13 +0000 (+0000) Subject: Fixed warning in ssl module X-Git-Tag: v2.6a1~868 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a63f268351ea8116c08f6b9ee1028f5eec3d5158;p=thirdparty%2FPython%2Fcpython.git Fixed warning in ssl module --- diff --git a/Modules/_ssl.c b/Modules/_ssl.c index d3b0aae454a9..44eaa18291bf 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;