[New-bugs-announce] [issue19682] _ssl won't compile with OSX 10.9 SDK

Ronald Oussoren report at bugs.python.org
Thu Nov 21 16:09:42 CET 2013


New submission from Ronald Oussoren:

I get a compilation error for _ssl when building on OSX 10.9 using the 10.9 SDK, the relevant error:

/Users/ronald/Projects/python/rw/default/Modules/_ssl.c:1029:24: error: no member named 'crldp' in 'struct x509_st'
    dps = certificate->crldp;
          ~~~~~~~~~~~  ^

Looking at /usr/include/openssl/x509.h in the 10.9 SDK that does not have a crldp member:

struct x509_st
        {
        X509_CINF *cert_info;
        X509_ALGOR *sig_alg;
        ASN1_BIT_STRING *signature;
        int valid;
        int references;
        char *name;
        CRYPTO_EX_DATA ex_data;
        /* These contain copies of various extension values */
        long ex_pathlen;
        long ex_pcpathlen;
        unsigned long ex_flags;
        unsigned long ex_kusage;
        unsigned long ex_xkusage;
        unsigned long ex_nscert;
        ASN1_OCTET_STRING *skid;
        struct AUTHORITY_KEYID_st *akid;
        X509_POLICY_CACHE *policy_cache;
#ifndef OPENSSL_NO_RFC3779
        STACK_OF(IPAddressFamily) *rfc3779_addr;
        struct ASIdentifiers_st *rfc3779_asid;
#endif
#ifndef OPENSSL_NO_SHA
        unsigned char sha1_hash[SHA_DIGEST_LENGTH];
#endif
        X509_CERT_AUX *aux;
        } /* X509 */;

Note that OSX ships a fairly ancient version of OpenSSL, libssl.dylib is 0.9.8. 

(Marked as a regression because 3.3 and 2.7 can be build with the system version of OpenSSL).

----------
assignee: ronaldoussoren
components: Extension Modules, Macintosh
keywords: 3.3regression
messages: 203634
nosy: ronaldoussoren
priority: normal
severity: normal
stage: needs patch
status: open
title: _ssl won't compile with OSX 10.9 SDK
type: compile error
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19682>
_______________________________________


More information about the New-bugs-announce mailing list