Fix memory leaks in tls_decrypt_ticket
authorMatt Caswell <matt@openssl.org>
Sat, 13 Feb 2016 23:22:45 +0000 (23:22 +0000)
committerMatt Caswell <matt@openssl.org>
Thu, 18 Feb 2016 15:21:47 +0000 (15:21 +0000)
commit35b1a433ed893f29adff490ad06160eaa86c2416
treefa2126883e1ce2ea91cae3e46c66a9ed5e9f0bd0
parentc4c32155f50ba3d7208676c142002fbaaa7d4b4c
Fix memory leaks in tls_decrypt_ticket

Certain code paths in tls_decrypt_ticket could return early without first
freeing the HMAC_CTX or the EVP_CIPHER_CTX.

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