diff options
author | Matt Caswell <matt@openssl.org> | 2016-11-22 10:12:55 +0000 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2016-11-29 23:31:10 +0000 |
commit | d3ab93e9c372c98c4ee3bcf8bc3c406a19e62f95 (patch) | |
tree | e9cf0dab4f97fae4e3cd4c920886f6295d2bca81 /test/tls13encryptiontest.c | |
parent | 6c670174242e10414ebde212ab3a1a3fea51c773 (diff) | |
download | openssl-new-d3ab93e9c372c98c4ee3bcf8bc3c406a19e62f95.tar.gz |
Fix a double free in tls13encryptiontest
Reviewed-by: Rich Salz <rsalz@openssl.org>
Diffstat (limited to 'test/tls13encryptiontest.c')
-rw-r--r-- | test/tls13encryptiontest.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tls13encryptiontest.c b/test/tls13encryptiontest.c index 5815f85193..0e38bdad4a 100644 --- a/test/tls13encryptiontest.c +++ b/test/tls13encryptiontest.c @@ -157,6 +157,7 @@ static int load_record(SSL3_RECORD *rec, size_t recnum, unsigned char **key, return 1; err: OPENSSL_free(*key); + *key = NULL; OPENSSL_free(ivtmp); OPENSSL_free(sq); OPENSSL_free(pt); |