]> git.ipfire.org Git - thirdparty/openssl.git/commit
dhtest.c: Add test of DH_check() with q = p + 1
authorTomas Mraz <tomas@openssl.org>
Tue, 25 Jul 2023 13:56:53 +0000 (15:56 +0200)
committerMatt Caswell <matt@openssl.org>
Mon, 31 Jul 2023 13:30:37 +0000 (14:30 +0100)
commit34d0f5cb93680a5286d1eb59125631ec8fd6dc81
treec48b51307ba36434bc5ffbca1bf225579d09a7df
parent91ddeba0f2269b017dc06c46c993a788974b1aa5
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: Paul Dale <pauli@openssl.org>
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/21551)
test/dhtest.c