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:08 +0000 (14:47 +0200)
commit4bf9781adc68684a7183961f1e5d9fbaf4885b3f
treecc4828d57d61e5acbdbb01e0e306e89a77e68ba1
parent8003138fa9674bb160ced09520de43c3618d3ede
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