aboutsummaryrefslogtreecommitdiff
path: root/net/kamailio/files/patch-src_modules_tls_tls__bio.c
diff options
context:
space:
mode:
authorBoris Korzun <drtr0jan@yandex.ru>2025-01-10 16:11:37 +0000
committerRobert Clausecker <fuz@FreeBSD.org>2025-01-17 12:34:00 +0000
commitd01782846b8e7f4e3b601e34ba1481d7f32aee9c (patch)
tree2661820fa2e1beff7c01cc0bbc83217c33023c38 /net/kamailio/files/patch-src_modules_tls_tls__bio.c
parent92111bdb7bb975fa2b51e7eb07470b6efc98db7d (diff)
Diffstat (limited to 'net/kamailio/files/patch-src_modules_tls_tls__bio.c')
-rw-r--r--net/kamailio/files/patch-src_modules_tls_tls__bio.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/net/kamailio/files/patch-src_modules_tls_tls__bio.c b/net/kamailio/files/patch-src_modules_tls_tls__bio.c
index 185f57312e9b..f780aa41c82a 100644
--- a/net/kamailio/files/patch-src_modules_tls_tls__bio.c
+++ b/net/kamailio/files/patch-src_modules_tls_tls__bio.c
@@ -1,17 +1,17 @@
---- src/modules/tls/tls_bio.c.orig 2019-08-14 09:43:03 UTC
+--- src/modules/tls/tls_bio.c.orig 2024-11-12 10:25:56 UTC
+++ src/modules/tls/tls_bio.c
-@@ -63,7 +63,7 @@ static int tls_bio_mbuf_puts(BIO* b, const char* s);
- static long tls_bio_mbuf_ctrl(BIO* b, int cmd, long arg1, void* arg2);
+@@ -63,7 +63,7 @@ static long tls_bio_mbuf_ctrl(BIO *b, int cmd, long ar
+ static long tls_bio_mbuf_ctrl(BIO *b, int cmd, long arg1, void *arg2);
-#if OPENSSL_VERSION_NUMBER < 0x010100000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x010100000L || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL )
static BIO_METHOD tls_mbuf_method = {
- BIO_TYPE_TLS_MBUF, /* type */
- "sr_tls_mbuf", /* name */
-@@ -109,7 +109,7 @@ static BIO_METHOD *tls_mbuf_method = NULL;
+ BIO_TYPE_TLS_MBUF, /* type */
+ "sr_tls_mbuf", /* name */
+@@ -109,7 +109,7 @@ BIO_METHOD *tls_BIO_mbuf(void)
/** returns a custom tls_mbuf BIO. */
- BIO_METHOD* tls_BIO_mbuf(void)
+ BIO_METHOD *tls_BIO_mbuf(void)
{
-#if OPENSSL_VERSION_NUMBER < 0x010100000L || defined(LIBRESSL_VERSION_NUMBER)
+#if OPENSSL_VERSION_NUMBER < 0x010100000L || ( defined(LIBRESSL_VERSION_NUMBER) && LIBRESSL_VERSION_NUMBER < 0x2070000fL )