summaryrefslogtreecommitdiff
path: root/src/regress/lib/libssl/buffer/buffertest.c
diff options
context:
space:
mode:
authorjsing <>2019-01-17 06:32:12 +0000
committerjsing <>2019-01-17 06:32:12 +0000
commitdfcb2879ed4cb98147d3c6bcf56f7e6da34adacb (patch)
treeaaa2cc958ec6b223edb11b9ce2f0c7cfe55040f0 /src/regress/lib/libssl/buffer/buffertest.c
parent9dd9e9a99553e5611665015af0b01a9df5cfcfeb (diff)
downloadopenbsd-dfcb2879ed4cb98147d3c6bcf56f7e6da34adacb.tar.gz
openbsd-dfcb2879ed4cb98147d3c6bcf56f7e6da34adacb.tar.bz2
openbsd-dfcb2879ed4cb98147d3c6bcf56f7e6da34adacb.zip
Provide an extensible buffer implementation that uses a read callback.
The read callback returns a TLS13_IO_* value on EOF, failure, want pollin or want pollout, or a positive value indicating the number of bytes read. This will be used by upcoming TLSv1.3 handshake message and record processing code, both of which need the ability to read a fixed size header, before extending the buffer to the number of bytes specified in the header. ok beck@ tb@
Diffstat (limited to 'src/regress/lib/libssl/buffer/buffertest.c')
0 files changed, 0 insertions, 0 deletions