mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 06:25:31 +00:00
Clear OpenSSL errors on EVP_PKEY_get_bn_param failures
This commit is contained in:
@@ -97,7 +97,10 @@ opensslrsa_components_get(const dst_key_t *key, rsa_components_t *c,
|
||||
(void)EVP_PKEY_get_bn_param(priv,
|
||||
OSSL_PKEY_PARAM_RSA_COEFFICIENT1,
|
||||
(BIGNUM **)&c->iqmp);
|
||||
ERR_clear_error();
|
||||
return (ISC_R_SUCCESS);
|
||||
} else {
|
||||
ERR_clear_error();
|
||||
}
|
||||
#endif
|
||||
#if OPENSSL_VERSION_NUMBER < 0x30000000L || OPENSSL_API_LEVEL < 30000
|
||||
|
Reference in New Issue
Block a user