Fix for a segv interrupt that occurs when fix_dh_rfc5114 is called with
authorPhil Mesnier <mesnierp@objectcomputing.com>
Wed, 27 Oct 2021 09:26:45 +0000 (04:26 -0500)
committerPauli <pauli@openssl.org>
Fri, 5 Nov 2021 00:55:19 +0000 (10:55 +1000)
commit09d91264c8ee1fdfcbe41f326a96a21cd85eb732
tree05b573eda49f03d2201a2a680d93e5dbc2a0bb0a
parentcc350c882218b1053a636d01eb36573b3e7b20c2
Fix for a segv interrupt that occurs when fix_dh_rfc5114 is called with
ctx->p2 being a null pointer.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16913)

(cherry picked from commit 07e6c857364770f6e986b5d8ceb9fbe296f3c6d0)
crypto/evp/ctrl_params_translate.c
test/dhtest.c