]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[tls] Pass I/O buffer to received record handlers
authorMichael Brown <mcb30@ipxe.org>
Thu, 30 Mar 2023 15:28:40 +0000 (16:28 +0100)
committerMichael Brown <mcb30@ipxe.org>
Thu, 30 Mar 2023 22:37:55 +0000 (23:37 +0100)
commitaa368ba529e13f07658e16507eb8686ef1c07423
tree3c97515cb66f6fdaf816b4cacc760c52c8308de6
parent2c6a15d2a350425c0f1f88e0e69cb5e9e2a651e5
[tls] Pass I/O buffer to received record handlers

Prepare for the possibility that a record handler may choose not to
consume the entire record by passing the I/O buffer and requiring the
handler to mark consumed data using iob_pull().

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/net/tls.c