Check for BIO wrapper functions instead of making blind assumptions about
their existence based on the value of the OPENSSL_VERSION_NUMBER macro.
Fixes some of the build problems with LibreSSL.
* SConstruct: Check for BIO_set_init and provide SERF_NO_SSL_BIO_WRAPPERS.
* buckets/ssl_buckets.c: Use SERF_NO_SSL_BIO_WRAPPERS instead of
USE_LEGACY_OPENSSL where BIO wrappers are used.
|