This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author belopolsky
Recipients belopolsky, benjamin.peterson, christian.heimes
Date 2008-05-29.04:02:35
SpamBayes Score 0.0044859876
Marked as misclassified No
Message-id <1212033759.28.0.622712093099.issue2973@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-05-29 04:02:39belopolskysetspambayes_score: 0.00448599 -> 0.0044859876
recipients: + belopolsky, christian.heimes, benjamin.peterson
2008-05-29 04:02:39belopolskysetspambayes_score: 0.00448599 -> 0.00448599
messageid: <1212033759.28.0.622712093099.issue2973@psf.upfronthosting.co.za>
2008-05-29 04:02:37belopolskylinkissue2973 messages
2008-05-29 04:02:36belopolskycreate