]> git.ipfire.org Git - thirdparty/openssl.git/commit
Add a test for CVE-2023-3446
authorMatt Caswell <matt@openssl.org>
Fri, 7 Jul 2023 13:39:48 +0000 (14:39 +0100)
committerTomas Mraz <tomas@openssl.org>
Wed, 19 Jul 2023 09:24:06 +0000 (11:24 +0200)
commite9ddae17e302a7e6a0daf00f25efed7c70f114d4
tree17feffe8ed29314e00547d0d9c10b941b7e9deb3
parent8780a896543a654e757db1b9396383f9d8095528
Add a test for CVE-2023-3446

Confirm that the only errors DH_check() finds with DH parameters with an
excessively long modulus is that the modulus is too large. We should not
be performing time consuming checks using that modulus.

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Bernd Edlinger <bernd.edlinger@hotmail.de>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21452)
test/dhtest.c