Python 2.7 NOT broken with openssl-devel

Thomas Francis, Jr. franc at tcsaf.com
Mon Jun 12 19:03:34 UTC 2017


Please note the Python 2.7 port is NOT broken with the openssl-devel 
port.  One does need to compile the openssl-devel port with NEXTPROTONEG 
option enabled, as there's a bug in how Python 2.7.13 determines if 
that's enabled or not.  Or one could patch Modules/_ssl.c to detect it 
properly.  I.e., instead of "#ifdef OPENSSL_NPN_NEGOTIATED" use "#ifndef 
OPENSSL_NO_NEXTPROTONEG".  OPENSSL_NPN_NEGOTIATED is unconditionally 
defined in ssl.h.


More information about the freebsd-python mailing list