aboutsummaryrefslogtreecommitdiff
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2020-06-12 21:40:33 +0100
committerMichael Brown <mcb30@ipxe.org>2020-06-12 21:40:33 +0100
commit2dac11eb1d8588d095be36152bb35b35637d387b (patch)
tree94bf7bb47e0110a22243ad6b48430b856b3342e5 /src/config
parent9ee70fb95bc266885ff88be228b044a2bb226eeb (diff)
downloadipxe-2dac11eb1d8588d095be36152bb35b35637d387b.zip
ipxe-2dac11eb1d8588d095be36152bb35b35637d387b.tar.gz
ipxe-2dac11eb1d8588d095be36152bb35b35637d387b.tar.bz2
[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')
-rw-r--r--src/config/crypto.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/config/crypto.h b/src/config/crypto.h
index 1edcdce..d3c34a9 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