On Tue, Oct 23, 2018 at 03:21:23AM +1100, Joel Sing wrote:
> P.S. There is more functionality that could be enabled for LibreSSL, which
> is currently being explicitly disabled...

When a new Net::SSLeay is released, I disable things that are not
supported by current LibreSSL.  But how can I be informed when
something is later added to LibreSSL?  And to which version is it
added?

> ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L || \
> ++    (defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER >= 
> 0x2070000fL)

This does not work for older versions of LibreSSL.  Our
OPENSSL_VERSION_NUMBER is 0x20000000L, so it is always true.

In other places we use this idiom

#if  (OPENSSL_VERSION_NUMBER >= 0x10100000L && 
!defined(LIBRESSL_VERSION_NUMBER)) || (LIBRESSL_VERSION_NUMBER >= 0x2070000fL)

bluhm

Reply via email to