diff options
Diffstat (limited to 'databases/mariadb103-server/files/patch-include_ssl__compat.h')
-rw-r--r-- | databases/mariadb103-server/files/patch-include_ssl__compat.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mariadb103-server/files/patch-include_ssl__compat.h b/databases/mariadb103-server/files/patch-include_ssl__compat.h new file mode 100644 index 000000000000..30d695673280 --- /dev/null +++ b/databases/mariadb103-server/files/patch-include_ssl__compat.h @@ -0,0 +1,11 @@ +--- include/ssl_compat.h.orig 2022-11-02 12:18:48 UTC ++++ include/ssl_compat.h +@@ -19,7 +19,7 @@ + /* OpenSSL version specific definitions */ + #if defined(OPENSSL_VERSION_NUMBER) + +-#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !defined(LIBRESSL_VERSION_NUMBER) ++#if OPENSSL_VERSION_NUMBER >= 0x10100000L && !(defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x30500000L) + #define HAVE_OPENSSL11 1 + #define SSL_LIBRARY OpenSSL_version(OPENSSL_VERSION) + #define ERR_remove_state(X) ERR_clear_error() |