Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ t/error.t
t/error_queue.t
t/fakelib/Crypt/OpenSSL/Bignum.pm
t/format.t
t/get_key_parameters.t
t/key_lifecycle.t
t/keygen.t
t/padding.t
Expand Down
4 changes: 3 additions & 1 deletion RSA.xs
Original file line number Diff line number Diff line change
Expand Up @@ -1096,7 +1096,9 @@ PPCODE:
EVP_PKEY_get_bn_param(rsa, OSSL_PKEY_PARAM_RSA_EXPONENT1, &dmp1);
EVP_PKEY_get_bn_param(rsa, OSSL_PKEY_PARAM_RSA_EXPONENT2, &dmq1);
EVP_PKEY_get_bn_param(rsa, OSSL_PKEY_PARAM_RSA_COEFFICIENT1, &iqmp);
/* Drain any errors pushed by expected failures on public keys. */
/* Failed calls (e.g. private params on a public key) push errors
onto the OpenSSL error queue. Drain them so they don't leak
into the next croakSsl() call from an unrelated operation. */
ERR_clear_error();
#else
RSA_get0_key(rsa, &n, &e, &d);
Expand Down
Loading