summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2023-03-30 17:28:40 +0200
committerMichael Brown2023-03-31 00:38:43 +0200
commit1d1cf74a5e58811822bee4b3da3cff7282fcdfca (patch)
tree6b975a1a33bb9a89d8519f6f17eac2c2e2e697ae /src/include
parent[tls] Pass I/O buffer to received record handlers (diff)
downloadipxe-1d1cf74a5e58811822bee4b3da3cff7282fcdfca.tar.gz
ipxe-1d1cf74a5e58811822bee4b3da3cff7282fcdfca.tar.xz
ipxe-1d1cf74a5e58811822bee4b3da3cff7282fcdfca.zip
[tls] Handle fragmented handshake records
Originally-implemented-by: Christopher Schenk <christopher@cschenk.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/ipxe/tls.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/ipxe/tls.h b/src/include/ipxe/tls.h
index 99c7be01..30bb1c48 100644
--- a/src/include/ipxe/tls.h
+++ b/src/include/ipxe/tls.h
@@ -398,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