No old TLS check

pull/6242/head
Juliusz Sosinowicz 2023-03-24 16:44:01 +01:00
parent 94cf845c05
commit e465089798
2 changed files with 4 additions and 1 deletions

View File

@ -3492,7 +3492,7 @@ AC_ARG_ENABLE([oldtls],
[ ENABLED_OLD_TLS=yes ]
)
if test "$ENABLED_CRYPTONLY" = "yes"
if test "$ENABLED_CRYPTONLY" = "yes" || test "x$ENABLED_HARDEN_TLS" != "xno"
then
ENABLED_OLD_TLS=no
fi

View File

@ -2969,6 +2969,9 @@ extern void uITRON4_free(void *p) ;
#ifdef HAVE_TRUNCATED_HMAC
#error "Truncated HMAC Extension not allowed https://www.rfc-editor.org/rfc/rfc9325#section-4.6"
#endif
#ifndef NO_OLD_TLS
#error "TLS < 1.2 protocol versions not allowed https://www.rfc-editor.org/rfc/rfc9325#section-3.1.1"
#endif
#endif
#ifdef __cplusplus