When a private key is validated and there is no private key, return early.
authorMat Berchtold <mberchtold@gmail.com>
Tue, 21 Apr 2020 19:13:16 +0000 (14:13 -0500)
committerRichard Levitte <levitte@openssl.org>
Fri, 1 May 2020 06:54:29 +0000 (08:54 +0200)
commit2fc2e37b282cb6570760e9c837599dd51f239ca1
tree6e244a57823594ce10faaed16084decb98ae7a9c
parent64e54bf5c6657bf423d3ba463f31095d598d94e7
When a private key is validated and there is no private key, return early.

Affected functions:

dsa_validate_public
dsa_validate_private
dh_validate_public
dh_validate_private

Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11598)
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c