Allow the TLS 13 draft 18 build option and just use the final version. This allows the automated test scripts to pass.

This commit is contained in:
David Garske 2020-05-12 15:37:26 -07:00
parent 4d8cf5b571
commit ab2afbd37b

View File

@ -317,6 +317,13 @@ then
fi
# TLS v1.3 Draft 18 (Note: only final TLS v1.3 supported, here for backwards build compatibility)
AC_ARG_ENABLE([tls13-draft18],
[AS_HELP_STRING([--enable-tls13-draft18],[Enable wolfSSL TLS v1.3 Draft 18 (default: disabled)])],
[ ENABLED_TLS13_DRAFT18=$enableval ],
[ ENABLED_TLS13_DRAFT18=no ]
)
# TLS v1.3
AC_ARG_ENABLE([tls13],
[AS_HELP_STRING([--enable-tls13],[Enable wolfSSL TLS v1.3 (default: disabled)])],
@ -327,7 +334,7 @@ if test "x$FIPS_VERSION" = "xv1"
then
ENABLED_TLS13="no"
fi
if test "$ENABLED_TLS13" = "yes"
if test "$ENABLED_TLS13" = "yes" || test "$ENABLED_TLS13_DRAFT18" = "yes"
then
AM_CFLAGS="-DWOLFSSL_TLS13 -DHAVE_TLS_EXTENSIONS -DHAVE_SUPPORTED_CURVES $AM_CFLAGS"
fi