fix_dh_paramgen_type: Avoid crash with invalid paramgen type
authorTomas Mraz <tomas@openssl.org>
Thu, 28 Apr 2022 15:04:05 +0000 (17:04 +0200)
committerTomas Mraz <tomas@openssl.org>
Mon, 2 May 2022 06:35:54 +0000 (08:35 +0200)
commit359dad5178285d5471f2a57a5aa99c1f588dffcb
treec0adbd6dfa0051f22d89dbb5362188a9983da9cb
parentfe5c5cb85197aec7d68ab095b866ed22076850d0
fix_dh_paramgen_type: Avoid crash with invalid paramgen type

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18202)
crypto/evp/ctrl_params_translate.c