[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>
This commit is contained in:
Michael Brown
2020-06-12 21:40:33 +01:00
parent 9ee70fb95b
commit 2dac11eb1d
2 changed files with 27 additions and 6 deletions

View File

@@ -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