diff options
author | Michael Brown <mcb30@ipxe.org> | 2020-06-12 21:40:33 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2020-06-12 21:40:33 +0100 |
commit | 2dac11eb1d8588d095be36152bb35b35637d387b (patch) | |
tree | 94bf7bb47e0110a22243ad6b48430b856b3342e5 /src/config/crypto.h | |
parent | 9ee70fb95bc266885ff88be228b044a2bb226eeb (diff) | |
download | ipxe-2dac11eb1d8588d095be36152bb35b35637d387b.tar.gz |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/config/crypto.h')
-rw-r--r-- | src/config/crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |