aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDavid Benjamin <davidben@google.com>2016-07-10 23:35:04 -0400
committerRich Salz <rsalz@openssl.org>2016-07-12 15:39:42 -0400
commite99ab8ffd70c24a68b8e9c46da1d669fe0bed810 (patch)
tree53a3a6e524f6f6e4a4c4fdf97c175483e441dfec /include
parent3307000d9852acac98ebc1b82cacc9b14240d798 (diff)
downloadopenssl-e99ab8ffd70c24a68b8e9c46da1d669fe0bed810.zip
openssl-e99ab8ffd70c24a68b8e9c46da1d669fe0bed810.tar.gz
openssl-e99ab8ffd70c24a68b8e9c46da1d669fe0bed810.tar.bz2
Fix DH error-handling in tls_process_key_exchange.
The set0 setters take ownership of their arguments, so the values should be set to NULL to avoid a double-free in the cleanup block should ssl_security(SSL_SECOP_TMP_DH) fail. Found by BoringSSL's WeakDH test. Reviewed-by: Kurt Roeckx <kurt@openssl.org> Reviewed-by: Rich Salz <rsalz@openssl.org> (Merged from https://github.com/openssl/openssl/pull/1299)
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions