Fix some mem leaks in sslapitest
authorMatt Caswell <matt@openssl.org>
Mon, 26 Sep 2016 11:04:23 +0000 (12:04 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 26 Sep 2016 16:26:50 +0000 (17:26 +0100)
commitfa454945cf2855fed452ff9bdb1876096bc07beb
treeaa3e9b327ddc92d18110629b09d1d3c0691a7c57
parent8ff70f3326983360c6f6306a1cd2238ef92d1f26
Fix some mem leaks in sslapitest

A mem leak could occur on an error path. Also the mempacket BIO_METHOD
needs to be cleaned up, because of the newly added DTLS test.

Also fixed a double semi-colon in ssltestlib.c

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/sslapitest.c
test/ssltestlib.c