FreeBSD Bugzilla – Attachment 229387 Details for
Bug 259734
net/mosquitto: Fails to build with security/libressl 3.4.1: options.c:400:32: error: incomplete definition of type 'struct ssl_ctx_st'
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
195c99b997.patch (text/plain), 1.60 KB, created by
Ivan Rozhuk
on 2021-11-09 18:26:47 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Ivan Rozhuk
Created:
2021-11-09 18:26:47 UTC
Size:
1.60 KB
patch
obsolete
>From 195c99b9971edc5f3de8e6c4b83c23d9949bb9ac Mon Sep 17 00:00:00 2001 >From: Rozhuk Ivan <rozhuk.im@gmail.com> >Date: Tue, 9 Nov 2021 21:23:41 +0300 >Subject: [PATCH] net/mosquitto: fix buld with libressl 3.4.1 > >https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259734 >--- > net/mosquitto/files/patch-lib_options.c | 20 ++++++++++++++++++++ > 1 file changed, 20 insertions(+) > create mode 100644 net/mosquitto/files/patch-lib_options.c > >diff --git a/net/mosquitto/files/patch-lib_options.c b/net/mosquitto/files/patch-lib_options.c >new file mode 100644 >index 000000000000..b0a58a191758 >--- /dev/null >+++ b/net/mosquitto/files/patch-lib_options.c >@@ -0,0 +1,20 @@ >+--- lib/options.c.orig 2021-04-03 14:02:23.000000000 +0300 >++++ lib/options.c 2021-11-09 21:20:56.514615000 +0300 >+@@ -394,7 +394,7 @@ >+ #ifdef WITH_TLS >+ mosq->ssl_ctx = (SSL_CTX *)value; >+ if(mosq->ssl_ctx){ >+-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER) >++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (!defined(LIBRESSL_VERSION_NUMBER) || (LIBRESSL_VERSION_NUMBER >= 0x2070100fL)) >+ SSL_CTX_up_ref(mosq->ssl_ctx); >+ #else >+ CRYPTO_add(&(mosq->ssl_ctx)->references, 1, CRYPTO_LOCK_SSL_CTX); >+@@ -502,7 +502,7 @@ >+ #ifdef WITH_TLS >+ mosq->ssl_ctx = (SSL_CTX *)value; >+ if(mosq->ssl_ctx){ >+-#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && !defined(LIBRESSL_VERSION_NUMBER) >++#if (OPENSSL_VERSION_NUMBER >= 0x10100000L) && (!defined(LIBRESSL_VERSION_NUMBER) || (LIBRESSL_VERSION_NUMBER >= 0x2070100fL)) >+ SSL_CTX_up_ref(mosq->ssl_ctx); >+ #else >+ CRYPTO_add(&(mosq->ssl_ctx)->references, 1, CRYPTO_LOCK_SSL_CTX);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 259734
:
229387
|
229394