From 2c6a15d2a350425c0f1f88e0e69cb5e9e2a651e5 Mon Sep 17 00:00:00 2001 From: Michael Brown Date: Thu, 30 Mar 2023 16:57:12 +0100 Subject: [tls] Clean up change cipher spec record handling Define and use data structures and constants for the (single-byte) change cipher spec records. Signed-off-by: Michael Brown --- src/include/ipxe/tls.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/include') diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h index 6fcb69bef..99c7be019 100644 --- a/src/include/ipxe/tls.h +++ b/src/include/ipxe/tls.h @@ -52,6 +52,9 @@ struct tls_header { /** Change cipher content type */ #define TLS_TYPE_CHANGE_CIPHER 20 +/** Change cipher spec magic byte */ +#define TLS_CHANGE_CIPHER_SPEC 1 + /** Alert content type */ #define TLS_TYPE_ALERT 21 -- cgit v1.2.3-55-g7522