> Le 14 mars 2017 à 16:28, Emmanuel Hocdet <m...@gandi.net> a écrit :
> 
> Hi Piotr
> 
>> Le 14 mars 2017 à 16:04, Piotr Kubaj <pku...@anongoth.pl> a écrit :
>> 
>> And it seems like the previously attached patches do compile, but the 
>> warning is there again so now I'm finally including patches that make 
>> Haproxy both compile and not throw additional warnings.
>> 
> 
> first patch:
> 
> -#if defined(OPENSSL_IS_BORINGSSL) || (OPENSSL_VERSION_NUMBER >= 0x1010000fL)
> +#if (LIBRESSL_VERSION_NUMBER < 0x2050100fL) && 
> (defined(OPENSSL_IS_BORINGSSL) || (OPENSSL_VERSION_NUMBER >= 0x1010000fL))
> should be :
> +#if (LIBRESSL_VERSION_NUMBER < 0x2050100fL) || 
> (defined(OPENSSL_IS_BORINGSSL) || (OPENSSL_VERSION_NUMBER >= 0x1010000fL))
> 
> I suspect that test on LIBRESSL_VERSION_NUMBER will not work.
> 
> Manu
> 

This patch should be SSL version agnostic:

Attachment: 0001-BUILD-ssl-simplify-SSL_CTX_set_ecdh_auto-compatibili.patch
Description: Binary data


Reply via email to