Pull out some common packet code into a function
authorMatt Caswell <matt@openssl.org>
Mon, 12 Sep 2016 08:39:10 +0000 (09:39 +0100)
committerMatt Caswell <matt@openssl.org>
Tue, 13 Sep 2016 08:41:21 +0000 (09:41 +0100)
commit826573559df6c74a6773475a1b7a2a2ba13cec28
tree67714dd06e7ffbfd5c6f28d3e07b89f44df2291f
parentc39609aa6a575c9645d87711e3db439eb832ca70
Pull out some common packet code into a function

Two locations had the same loop for writing out a value. Pull it out into
a function.

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