mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
- submitter becomes maintainer - added GCRYPT and MICROHTTPD options - small fixes Changelog: https://www.kamailio.org/pub/kamailio/5.8.4/ChangeLog Release notes: https://www.kamailio.org/w/kamailio-v5-8-0-release-notes/ PR: 283010 Reported by: p5B2EA84B3@t-online.de Approved by: dmitry.wagin@ya.ru (maintainer)
20 lines
937 B
C
20 lines
937 B
C
--- 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 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 @@ BIO_METHOD *tls_BIO_mbuf(void)
|
|
/** returns a custom tls_mbuf BIO. */
|
|
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 )
|
|
return &tls_mbuf_method;
|
|
#else
|
|
if(tls_mbuf_method != NULL) {
|