Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: It looks like this comes from r59493 which purports to fix a warning:
------------------------------------------------------------------------ r59493 | christian.heimes | 2007-12-13 23:38:13 -0500 (Thu, 13 Dec 2007) | 1 line Fixed warning in ssl module ------------------------------------------------------------------------ --- Modules/_ssl.c (revision 59492) +++ Modules/_ssl.c (revision 59493) @@ -660,7 +660,7 @@ char buf[2048]; char *vptr; int len; - unsigned char *p; + const unsigned char *p; if (certificate == NULL) return peer_alt_names; On MacOS 10.4 with OpenSSL 0.9.7i, ASN1_item_d2i is declared without const, so reverting fixes the warning. I guess Christian was developing on a system with a different OpenSSL version, so we need to hear from him before attempting another fix. ---------- nosy: +belopolsky, christian.heimes _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2973> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com