diff options
author | Jochen Neumeister <joneum@FreeBSD.org> | 2020-03-12 07:42:38 +0000 |
---|---|---|
committer | Jochen Neumeister <joneum@FreeBSD.org> | 2020-03-12 07:42:38 +0000 |
commit | c2bd9677788989f8289b28cec5eb2524f7b0b514 (patch) | |
tree | 83beb3ec44646f7c59693dce1ae56106a4b73eca /databases/mysql56-server/files/patch-vio_vio.c | |
parent | x11-drivers/xorgxrdp: disable DRI3 option by default again (diff) |
This fix a Problem, when MySQL build with libressl
/var/ports/usr/ports/databases/mysql56-client/work/mysql-5.6.47/vio/viosslfactories.c:230:25: error: use of undeclared identifier 'SSL_OP_NO_TLSv1_3'
SSL_OP_NO_TLSv1_3 |
^
/var/ports/usr/ports/databases/mysql56-client/work/mysql-5.6.47/vio/viosslfactories.c:275:12: warning: implicit declaration of function 'SSL_CTX_set_ciphersuites' is invalid in C99 [-Wimplicit-function-declaration]
if (0 == SSL_CTX_set_ciphersuites(ssl_fd->ssl_context, ""))
Special thanks for his help to: fluffy
PR: 244320
MFH: 2020Q1
Sponsored by: Netzkommune GmbH
Notes
Notes:
svn path=/head/; revision=528272
Diffstat (limited to 'databases/mysql56-server/files/patch-vio_vio.c')
-rw-r--r-- | databases/mysql56-server/files/patch-vio_vio.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/databases/mysql56-server/files/patch-vio_vio.c b/databases/mysql56-server/files/patch-vio_vio.c new file mode 100644 index 000000000000..042c4d65e8f2 --- /dev/null +++ b/databases/mysql56-server/files/patch-vio_vio.c @@ -0,0 +1,11 @@ +--- vio/vio.c.orig 2019-11-26 16:53:45 UTC ++++ vio/vio.c +@@ -394,7 +394,7 @@ void vio_end(void) + { + #if defined(HAVE_OPENSSL) + // This one is needed on the client side +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + ERR_remove_thread_state(0); + #endif /* OPENSSL_VERSION_NUMBER < 0x10100000L */ + ERR_free_strings(); |