Fix a bug in the new PACKET implementation
authorMatt Caswell <matt@openssl.org>
Tue, 4 Aug 2015 12:03:20 +0000 (13:03 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 4 Aug 2015 12:06:58 +0000 (13:06 +0100)
commit44128847e8965ec64384ac48c65f5d28126b3666
tree6b10b965d2bc113a2697818905ac12a283758a65
parent8d11b7c7ee84ad0aa243476088285d15b22c5470
Fix a bug in the new PACKET implementation

Some of the PACKET functions were returning incorrect data. An unfortunate
choice of test data in the unit test was masking the failure.

Reviewed-by: Tim Hudson <tjh@openssl.org>
ssl/packet_locl.h
test/packettest.c