Use BN_clear_free in DH_set0_key
authorBernd Edlinger <bernd.edlinger@hotmail.de>
Fri, 6 Sep 2019 22:53:24 +0000 (00:53 +0200)
committerBernd Edlinger <bernd.edlinger@hotmail.de>
Mon, 9 Sep 2019 12:47:34 +0000 (14:47 +0200)
commit78617373f2af1b735e66501a799969248251c54b
treea3632fedc28ecdb8b2f7e87c8d83aeea931fc8b0
parentd4a5dac9f9242c580fb9d0a4389440eccd3494a7
Use BN_clear_free in DH_set0_key

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/9796)

(cherry picked from commit fa01370f7dc8f0a379483bbe74de11225857e5fe)
crypto/dh/dh_lib.c