The rsa_validate_keypair_multiprime() function return is not boolean
authorMatt Caswell <matt@openssl.org>
Fri, 24 Jun 2022 10:01:22 +0000 (11:01 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 28 Jun 2022 15:05:10 +0000 (17:05 +0200)
commit518f1ee81d5a6910365ef404888d0e119a87fd81
tree8f203d26973b6fe192efeb37365f463ca3a0bf2d
parent08f876d0dea184b071a5aded4c55317e5a63c80e
The rsa_validate_keypair_multiprime() function return is not boolean

A -ve return value from this function indicates an error which we should
treat as a failure to validate.

Fixes #18538

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/18651)
crypto/rsa/rsa_chk.c