diff options
author | Michael Brown <mcb30@ipxe.org> | 2023-03-30 16:28:40 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2023-03-30 16:28:40 +0100 |
commit | 62b6def33947137bc9867f98aa2b3dc3187868f7 (patch) | |
tree | a3fbd8f2f5195f380cb498a7f1bd4313c40d2dda /src/include/ipxe/tls.h | |
parent | 09e8a154084c57311463408e3f2e412c305a9638 (diff) | |
download | ipxe-tlsfrag2.zip ipxe-tlsfrag2.tar.gz ipxe-tlsfrag2.tar.bz2 |
[tls] Handle fragmented handshake recordstlsfrag2
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/tls.h')
-rw-r--r-- | src/include/ipxe/tls.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h index 6fcb69b..30bb1c4 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 @@ -395,6 +398,8 @@ struct tls_connection { struct io_buffer rx_header_iobuf; /** List of received data buffers */ struct list_head rx_data; + /** Received handshake fragment */ + struct io_buffer *rx_handshake; }; /** RX I/O buffer size |