Address WPACKET review comments
authorMatt Caswell <matt@openssl.org>
Thu, 8 Sep 2016 23:13:41 +0000 (00:13 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 13 Sep 2016 08:41:21 +0000 (09:41 +0100)
commitde451856f08364ad6c6659b6eacbe820edc2aab9
tree9906cf7b996f9c1316e800390acc96e21e20f040
parent6ae4f5e087d204e02a5dc88ea905cca9d144a30d
Address WPACKET review comments

A few style tweaks here and there. The main change is that curr and
packet_len are now offsets into the buffer to account for the fact that
the pointers can change if the buffer grows. Also dropped support for the
WPACKET_set_packet_len() function. I thought that was going to be needed
but so far it hasn't been. It doesn't really work any more due to the
offsets change.

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