[Pkg-voip-commits] [asterisk] 01/07: Additional OpenSSL 1.1.0 patch
Bernhard Schmidt
berni at moszumanska.debian.org
Wed Nov 9 08:51:11 UTC 2016
This is an automated email from the git hooks/post-receive script.
berni pushed a commit to branch master
in repository asterisk.
commit b6f1f72feb49f050375908df6f4d2e13f0ba99b9
Author: Bernhard Schmidt <berni at debian.org>
Date: Wed Nov 9 09:21:53 2016 +0100
Additional OpenSSL 1.1.0 patch
Thanks: Stepan Golosunov
Closes: #828240
---
debian/patches/OpenSSL-1.1.0-support-2.patch | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/debian/patches/OpenSSL-1.1.0-support-2.patch b/debian/patches/OpenSSL-1.1.0-support-2.patch
new file mode 100644
index 0000000..630da79
--- /dev/null
+++ b/debian/patches/OpenSSL-1.1.0-support-2.patch
@@ -0,0 +1,15 @@
+--- a/main/libasteriskssl.c
++++ b/main/libasteriskssl.c
+@@ -36,6 +36,12 @@
+ #include <openssl/err.h>
+ #endif
+
++#if defined(HAVE_OPENSSL) && OPENSSL_VERSION_NUMBER >= 0x10100000L
++/* No explicit initialization is needed with OpenSSL 1.1.0.
++ * All the functions called or overridden in this file were removed. */
++#undef HAVE_OPENSSL
++#endif
++
+ #include <dlfcn.h>
+
+ #include "asterisk/_private.h" /* ast_ssl_init() */
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git
More information about the Pkg-voip-commits
mailing list