mirror of
https://git.freebsd.org/ports.git
synced 2025-05-23 04:03:14 -04:00
/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
11 lines
395 B
C
11 lines
395 B
C
--- 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();
|