]> git.ipfire.org Git - thirdparty/openssl.git/commit - ssl/statem/statem_clnt.c
Add a WPACKET_sub_allocate_bytes() function
authorMatt Caswell <matt@openssl.org>
Tue, 13 Sep 2016 10:32:52 +0000 (11:32 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 13 Sep 2016 23:02:34 +0000 (00:02 +0100)
commitb2b3024e0eef58589f7a49ebd48da98d4564a348
tree579578a6ae0230d93b2817e23a18e6aa3bc97f22
parentf1ec23c0bcc8ebb40331120b87a0e99f6823da67
Add a WPACKET_sub_allocate_bytes() function

Updated the construction code to use the new function. Also added some
convenience macros for WPACKET_sub_memcpy().

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