[New-bugs-announce] [issue23335] _ssl.c cannot be compiled with older versions of OpenSSL

Ned Deily report at bugs.python.org
Wed Jan 28 05:21:26 CET 2015


New submission from Ned Deily:

_ssl.c compilation is broken on default and 27 when building with older (pre-1.0.1 ?) versions of OpenSSL:
  
/py/dev/3x/source/Modules/_ssl.c:2296:24: error: use of undeclared identifier
      'OPENSSL_NPN_NEGOTIATED'
    if (alpn && ret != OPENSSL_NPN_NEGOTIATED)

The code added by eaa38b75cc78 (default) and 94ec4d8cf104 (2.7) doesn't account for the possibility that NPN is not available.  (The Snow Leopard buildbots are down at the moment but I would expect them to be failing with this.)

----------
messages: 234871
nosy: benjamin.peterson, ned.deily
priority: critical
severity: normal
stage: needs patch
status: open
title: _ssl.c cannot be compiled with older versions of OpenSSL
versions: Python 2.7, Python 3.5

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


More information about the New-bugs-announce mailing list