mod_ssl: build with LibreSSL.
authorYann Ylavic <ylavic@apache.org>
Fri, 15 Jun 2018 14:35:31 +0000 (14:35 +0000)
committerYann Ylavic <ylavic@apache.org>
Fri, 15 Jun 2018 14:35:31 +0000 (14:35 +0000)
commit275b140280959ba9dc0b85a3eef6a095036dd627
tree745373fb39fa81c451053c7dab9b51b5bf05916f
parent6d730fb7ed6c2da3e9f1c966c35a32b478a8bbfe
mod_ssl: build with LibreSSL.

LibreSSL seems to be openssl-1.1 API compatible only in version 2.8 (master).
So use that for MODSSL_USE_OPENSSL_PRE_1_1_API instead of 2.7, the two 2.7
compatibility-exceptions are handled explicitely but overall it's simpler.

Regarding CRYPTO_malloc_init vs OPENSSL_malloc_init, libreSSL uses none, the
former used to be a no-op but depends is LIBRESSL_INTERNAL in latest versions,
while the latter has never been (and will never be) defined. So don't call any
with LibreSSL.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1833598 13f79535-47bb-0310-9956-ffa450edef68
modules/md/md_crypt.c
modules/ssl/mod_ssl.c
modules/ssl/ssl_engine_init.c
modules/ssl/ssl_private.h