On 20.12.2016 11:52, s...@apache.org wrote: > Author: stsp > Date: Tue Dec 20 10:52:19 2016 > New Revision: 1775257 > > URL: http://svn.apache.org/viewvc?rev=1775257&view=rev > Log: > Get rid of another SSL feature check based on a version number. > > * SConstruct: Add a check for OpenSSL ALPN support and provide > SERF_HAVE_OPENSSL_ALPN. > > * buckets/ssl_buckets.c: > (serf_ssl_negotiate_protocol, ssl_get_selected_protocol): Use > SERF_HAVE_OPENSSL_ALPN instead of OPENSSL_VERSION_NUMBER.
AFAIK there are somewhat equivalent checks in the tests, too; worth a look? -- Brane