Message 231471 - Python tracker

Message231471

Author spil
Recipients Edd.Barrett, christian.heimes, dstufft, flox, giampaolo.rodola, janssen, koobs, mgorny, oberstet, pitrou, polymorphm, rpointel, spil, vstinner
Date 2014-11-21.10:47:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1416566849.67.0.924938473723.issue21356@psf.upfronthosting.co.za>
In-reply-to
Content
Hi, 

I think this can be found in LibreSSL's opensslv.h 
An ifdef LIBRESSL_VERSION_NUMBER should work

See https://github.com/libressl-portable/openbsd/blob/master/src/lib/libssl/src/crypto/opensslv.h

_ssl.c includes crypto.h which in turn includes opensslv.h so checking for LIBRESSL_VERSION_NUMBER should provide the correct check.

Attached patch does this in C whereas it should be checked for in configure and disabled with a HAS_RAND_egd
Have not figured out how to do this conditionally in Lib/ssl.py yet
History
Date User Action Args
2014-11-21 10:47:29spilsetrecipients: + spil, janssen, pitrou, vstinner, giampaolo.rodola, christian.heimes, flox, polymorphm, mgorny, rpointel, oberstet, koobs, dstufft, Edd.Barrett
2014-11-21 10:47:29spilsetmessageid: <1416566849.67.0.924938473723.issue21356@psf.upfronthosting.co.za>
2014-11-21 10:47:29spillinkissue21356 messages
2014-11-21 10:47:29spilcreate