]> git.ipfire.org Git - thirdparty/openssl.git/commit - include/internal/packet.h
Add support for initialising WPACKETs from a static buffer
authorMatt Caswell <matt@openssl.org>
Tue, 8 Nov 2016 10:33:35 +0000 (10:33 +0000)
committerMatt Caswell <matt@openssl.org>
Wed, 9 Nov 2016 10:36:54 +0000 (10:36 +0000)
commit9b36b7d9bdb33d1edbc2bbfd8a773a0eb8645788
tree668a1ea4172315f0ac08291bf9a44dc8bde80b8f
parent327c1627923288d3dbbfc34d1c7d8785552f6ad8
Add support for initialising WPACKETs from a static buffer

Normally WPACKETs will use a BUF_MEM which can grow as required. Sometimes
though that may be overkill for what is needed - a static buffer may be
sufficient. This adds that capability.

Reviewed-by: Rich Salz <rsalz@openssl.org>
ssl/packet.c
ssl/packet_locl.h
test/wpackettest.c