summaryrefslogtreecommitdiffhomepage
path: root/contrib/asterisk-xip/patches/014-openssl-configure_ac.patch
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/asterisk-xip/patches/014-openssl-configure_ac.patch')
-rw-r--r--contrib/asterisk-xip/patches/014-openssl-configure_ac.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/asterisk-xip/patches/014-openssl-configure_ac.patch b/contrib/asterisk-xip/patches/014-openssl-configure_ac.patch
new file mode 100644
index 000000000..9f3d9cd92
--- /dev/null
+++ b/contrib/asterisk-xip/patches/014-openssl-configure_ac.patch
@@ -0,0 +1,12 @@
+diff -Nru asterisk-1.4.22.org/configure.ac asterisk-1.4.22/configure.ac
+--- asterisk-1.4.22.org/configure.ac 2008-09-08 18:26:00.000000000 +0200
++++ asterisk-1.4.22/configure.ac 2008-11-29 15:01:13.000000000 +0100
+@@ -1319,7 +1319,7 @@
+
+ AST_EXT_LIB_CHECK([SQLITE], [sqlite], [sqlite_exec], [sqlite.h])
+
+-AST_EXT_LIB_CHECK([OPENSSL], [ssl], [ssl2_connect], [openssl/ssl.h], [-lcrypto])
++AST_EXT_LIB_CHECK([OPENSSL], [ssl], [ssl23_connect], [openssl/ssl.h], [-lcrypto])
+ if test "$PBX_OPENSSL" = "1";
+ then
+ AST_EXT_LIB_CHECK([OSPTK], [osptk], [OSPPCryptoDecrypt], [osp/osp.h], [-lcrypto -lssl])