summaryrefslogtreecommitdiffstats
path: root/net/asterisk13/files/patch-main_libasteriskssl.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/asterisk13/files/patch-main_libasteriskssl.c')
-rw-r--r--net/asterisk13/files/patch-main_libasteriskssl.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/net/asterisk13/files/patch-main_libasteriskssl.c b/net/asterisk13/files/patch-main_libasteriskssl.c
deleted file mode 100644
index 083eb63..0000000
--- a/net/asterisk13/files/patch-main_libasteriskssl.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- main/libasteriskssl.c.orig 2017-04-12 21:07:31 UTC
-+++ main/libasteriskssl.c
-@@ -74,7 +74,7 @@ static void ssl_lock(int mode, int n, const char *file
- }
- }
-
--#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L
-+#if !defined(OPENSSL_VERSION_NUMBER) || OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER)
- int SSL_library_init(void)
- {
- #if defined(AST_DEVMODE)
-@@ -129,7 +129,7 @@ void ERR_free_strings(void)
- int ast_ssl_init(void)
- {
- #if defined(HAVE_OPENSSL) && defined(OPENSSL_VERSION_NUMBER) && \
-- OPENSSL_VERSION_NUMBER < 0x10100000L
-+ (OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER))
- unsigned int i;
- int (*real_SSL_library_init)(void);
- void (*real_CRYPTO_set_id_callback)(unsigned long (*)(void));
OpenPOWER on IntegriCloud