diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-12 15:14:39 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2018-07-13 08:52:22 +0200 |
commit | 7f74ddbd0bfab5c45ef7d3bd59a806ed6fa6082a (patch) | |
tree | 6c94c08d24621d5ed83e719d860a888586126697 /m4/hooks.m4 | |
parent | bc1fc07e6bfaa526a1292f8ca81451884bb53400 (diff) | |
download | gnutls-7f74ddbd0bfab5c45ef7d3bd59a806ed6fa6082a.tar.gz |
The SSL 3.0 protocol is disabled on compile time by default
It can be re-enabled by specifying --enable-ssl3-support on configure script.
This is the first step before removing support for the protocol completely.
Relates #103
Signed-off-by: Nikos Mavrogiannopoulos <nmav@redhat.com>
Diffstat (limited to 'm4/hooks.m4')
-rw-r--r-- | m4/hooks.m4 | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/m4/hooks.m4 b/m4/hooks.m4 index fcd6f9cd80..fe8d9a2dde 100644 --- a/m4/hooks.m4 +++ b/m4/hooks.m4 @@ -157,11 +157,11 @@ LIBTASN1_MINIMUM=4.9 fi AM_CONDITIONAL(ALLOW_SHA1, test "$ac_allow_sha1" != "no") - ac_enable_ssl3=yes + ac_enable_ssl3=no AC_MSG_CHECKING([whether to disable the SSL 3.0 protocol]) AC_ARG_ENABLE(ssl3-support, - AS_HELP_STRING([--disable-ssl3-support], - [disable support for the SSL 3.0 protocol]), + AS_HELP_STRING([--enable-ssl3-support], + [enable support for the SSL 3.0 protocol]), ac_enable_ssl3=$enableval) if test x$ac_enable_ssl3 != xno; then AC_MSG_RESULT(no) @@ -170,6 +170,7 @@ LIBTASN1_MINIMUM=4.9 ac_full=0 AC_MSG_RESULT(yes) fi + AM_CONDITIONAL(ENABLE_SSL3, test "$ac_enable_ssl3" != "no") ac_enable_tls13=no @@ -200,7 +201,7 @@ LIBTASN1_MINIMUM=4.9 ac_full=0 AC_MSG_RESULT(yes) fi - AM_CONDITIONAL(ENABLE_SSL3, test "$ac_enable_ssl2" != "no") + AM_CONDITIONAL(ENABLE_SSL2, test "$ac_enable_ssl2" != "no") ac_enable_srtp=yes AC_MSG_CHECKING([whether to disable DTLS-SRTP extension]) |