]> granicus.if.org Git - python/commitdiff
Fixed warning in ssl module
authorChristian Heimes <christian@cheimes.de>
Fri, 14 Dec 2007 04:38:13 +0000 (04:38 +0000)
committerChristian Heimes <christian@cheimes.de>
Fri, 14 Dec 2007 04:38:13 +0000 (04:38 +0000)
Modules/_ssl.c

index d3b0aae454a98f39eda008c1d838889af30d19dd..44eaa18291bf1b8feaa5de4a2271fd301d6ed40d 100644 (file)
@@ -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;