diff options
author | Rene Ladan <rene@FreeBSD.org> | 2024-09-02 21:11:49 +0200 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2024-09-02 21:11:49 +0200 |
commit | d9574b29db38b0c3d367875fe6e3c6d723036f70 (patch) | |
tree | c39107e32f6d687e5d88cfa048018e8e32830a74 /databases/mysql81-server/files/patch-vio_viosslfactories.cc | |
parent | Mk: unregister expired mysql81 (diff) |
cleanup: Remove expired ports:
2024-09-01 databases/mysql81-server: MySQL 8.1 is not supported by the vendor and has unfixed vulnerabilies
2024-09-01 databases/mysql81-client: MySQL 8.1 is not supported by the vendor and has unfixed vulnerabilies
Diffstat (limited to 'databases/mysql81-server/files/patch-vio_viosslfactories.cc')
-rw-r--r-- | databases/mysql81-server/files/patch-vio_viosslfactories.cc | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/databases/mysql81-server/files/patch-vio_viosslfactories.cc b/databases/mysql81-server/files/patch-vio_viosslfactories.cc deleted file mode 100644 index 80e10a9495ad..000000000000 --- a/databases/mysql81-server/files/patch-vio_viosslfactories.cc +++ /dev/null @@ -1,46 +0,0 @@ ---- vio/viosslfactories.cc.orig 2023-06-21 07:52:10 UTC -+++ vio/viosslfactories.cc -@@ -45,6 +45,7 @@ - #include <dh_ecdh_config.h> - - #include "my_openssl_fips.h" -+#include "openssl/crypto.h" - #define TLS_VERSION_OPTION_SIZE 256 - - /* -@@ -422,7 +423,7 @@ long process_tls_version(const char *tls_version) { - const char *separator = ","; - char *token, *lasts = nullptr; - --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - const char *tls_version_name_list[] = {"TLSv1.2", "TLSv1.3"}; - const char ctx_flag_default[] = "TLSv1.2,TLSv1.3"; - const long tls_ctx_list[] = {SSL_OP_NO_TLSv1_2, SSL_OP_NO_TLSv1_3}; -@@ -494,7 +495,7 @@ static struct st_VioSSLFd *new_VioSSLFd( - ssl_ctx_options = (ssl_ctx_options | ssl_ctx_flags) & - (SSL_OP_NO_SSLv2 | SSL_OP_NO_SSLv3 | SSL_OP_NO_TLSv1 | - SSL_OP_NO_TLSv1_1 | SSL_OP_NO_TLSv1_2 --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - | SSL_OP_NO_TLSv1_3 - #endif /* HAVE_TLSv13 */ - | SSL_OP_NO_TICKET); -@@ -503,7 +504,7 @@ static struct st_VioSSLFd *new_VioSSLFd( - return nullptr; - - if (!(ssl_fd->ssl_context = SSL_CTX_new(is_client ? --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - TLS_client_method() - : TLS_server_method() - #else /* HAVE_TLSv13 */ -@@ -518,7 +519,7 @@ static struct st_VioSSLFd *new_VioSSLFd( - return nullptr; - } - --#ifdef HAVE_TLSv13 -+#if defined(HAVE_TLSv13) && !defined(LIBRESSL_VERSION_NUMBER) - /* - Set OpenSSL TLS v1.3 ciphersuites. - Note that an empty list is permissible. |