From 2dac11eb1d8588d095be36152bb35b35637d387b Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Fri, 12 Jun 2020 21:40:33 +0100 Subject: [tls] Allow a minimum TLS protocol version to be specified The supported ciphers and digest algorithms may already be specified via config/crypto.h. Extend this to allow a minimum TLS protocol version to be specified. Signed-off-by: Michael Brown --- src/config/crypto.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/config/crypto.h') diff --git a/src/config/crypto.h b/src/config/crypto.h index 1edcdce45..d3c34a94d 100644 --- a/src/config/crypto.h +++ b/src/config/crypto.h @@ -9,6 +9,9 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL ); +/** Minimum TLS version */ +#define TLS_VERSION_MIN TLS_VERSION_TLS_1_0 + /** RSA public-key algorithm */ #define CRYPTO_PUBKEY_RSA -- cgit v1.2.3-55-g7522