]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Check for OpenSSL defines before trying to use them. 98/2198/2
authorMark Michelson <mmichelson@digium.com>
Thu, 4 Feb 2016 22:17:55 +0000 (16:17 -0600)
committerMark Michelson <mmichelson@digium.com>
Thu, 4 Feb 2016 22:57:38 +0000 (16:57 -0600)
commit6a799cd78f0f26f26afab8b123e04f16c0308c36
treee99ef58fbfebb3498caba80a6153b9b6cb0e824e
parentc5e7d5c10587ba19c8f0d56d6f5b291624e9a234
Check for OpenSSL defines before trying to use them.

The SSL_OP_NO_TLSv1_1 and SSL_OP_NO_TLSv1_2 defines did not exist prior
to OpenSSL version 1.0.1. A recent commit attempts to, by default, set
these options, which can cause problems on systems with older OpenSSL
installations.

This commit adds a configure script check for those defines and will not
attempt to make use of those if they do not exist. We will print a
warning urging the user to upgrade their OpenSSL installation if those
defines are not present.

Change-Id: I6a2eb9a43fd0738b404d8f6f2cf4b5c22d9d752d
configure
configure.ac
include/asterisk/autoconfig.h.in
main/tcptls.c