Fix a WPACKET bug
authorMatt Caswell <matt@openssl.org>
Fri, 23 Sep 2016 15:41:50 +0000 (16:41 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 26 Sep 2016 07:52:48 +0000 (08:52 +0100)
commitf789b04f407c2003da62d2b91b587629f1a781d0
tree8ffbfed5156fb42a86c206631bc3b2807057ff20
parent84d5549e692e63a16fa1b11603e4098fc31746e9
Fix a WPACKET bug

If we request more bytes to be allocated than double what we have already
written, then we grow the buffer by the wrong amount.

Reviewed-by: Emilia Käsper <emilia@openssl.org>
ssl/packet.c