diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-03-30 16:57:12 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-03-30 16:57:12 +0100 |
commit | 2c6a15d2a350425c0f1f88e0e69cb5e9e2a651e5 (patch) | |
tree | c9bc10ae5e306212f110b5371c37f87bf49e86a4 /src/include/ipxe/tls.h | |
parent | 09e8a154084c57311463408e3f2e412c305a9638 (diff) | |
download | ipxe-2c6a15d2a350425c0f1f88e0e69cb5e9e2a651e5.tar.gz |
[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 <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tls.h')
-rw-r--r-- | src/include/ipxe/tls.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 |