Refactor DTLS cookie generation and verification
authorRichard Levitte <levitte@openssl.org>
Wed, 23 Dec 2015 10:40:43 +0000 (11:40 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 23 Dec 2015 11:44:55 +0000 (12:44 +0100)
commit87a595e554f9e753c3e653c8caae62739c7958b0
tree14f01e9358ae637370b25c96edba8eb7618962b7
parent7ab09630cd069af0fe06a762e5d85b3e827b3b88
Refactor DTLS cookie generation and verification

DTLS cookie generation and verification were exact copies of each
other save the last few lines.  This refactors them to avoid code
copying.

Reviewed-by: Matt Caswell <matt@openssl.org>
apps/s_cb.c