[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: (ITS#8533) Support OpenSSL-1.1.0c



--On Thursday, April 06, 2017 2:02 AM +0100 Howard Chu <hyc@symas.com> 
wrote:


>> +#if OPENSSL_VERSION_NUMBER < 0x10100000
>
> Are you sure about exactly when these functions were removed? The title
> of this ITS is for 1.1.0c, and the earlier patches were for 1.1.0a. For
> version 1.1.0c we should be comparing to 0x1010003f, not 0x10100000.

Yes, I checked against OpenSSL 1.1.0 (released before 1.1.0a).  The OpenSSL 
shipped headers are clear on this as well, for example:

#if OPENSSL_API_COMPAT < 0x10100000L
# define SSL_library_init() OPENSSL_init_ssl(0, NULL)
#endif


#if OPENSSL_API_COMPAT < 0x10100000L
# define SSL_load_error_strings() \
    OPENSSL_init_ssl(OPENSSL_INIT_LOAD_SSL_STRINGS \
                     | OPENSSL_INIT_LOAD_CRYPTO_STRINGS, NULL)
#endif

etc

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>