]> git.ipfire.org Git - thirdparty/openssl.git/commit - test/dhtest.c
dhtest.c: Add test of DH_check() with q = p + 1
authorTomas Mraz <tomas@openssl.org>
Tue, 25 Jul 2023 13:23:43 +0000 (15:23 +0200)
committerTodd Short <todd.short@me.com>
Thu, 27 Jul 2023 13:48:22 +0000 (09:48 -0400)
commitad5d35572695d7b5748b2bd4fb1afaa189b29e28
tree3167aa6d7238e72af2e33b97241131752560acb4
parent1c16253f3c3a8d1e25918c3f404aae6a5b0893de
dhtest.c: Add test of DH_check() with q = p + 1

This must fail with DH_CHECK_INVALID_Q_VALUE and
with DH_CHECK_Q_NOT_PRIME unset.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/21550)
test/dhtest.c