Stop attempting to duplicate the public and private key of dh_tmp.
authorjsing <jsing@openbsd.org>
Fri, 7 Jan 2022 15:56:33 +0000 (15:56 +0000)
committerjsing <jsing@openbsd.org>
Fri, 7 Jan 2022 15:56:33 +0000 (15:56 +0000)
commit8534b1260f72d603c4ba279939b6aca94ce0402c
tree231f10d58aa665e6e573787e3cd6bd21c9444494
parentaebe267242e9806e5eb28d3c38fca8c3cc3b6154
Stop attempting to duplicate the public and private key of dh_tmp.

Support for non-ephemeral DH was removed a very long time ago - the only
way that dh_tmp is set is via DHparams_dup(), hence the public and private
keys are always going to be NULL.

ok inoguchi@ tb@
lib/libssl/ssl_cert.c