LibCrypto: Remove unused constructors from RSA class

This commit is contained in:
devgianlu 2025-02-16 11:56:01 +01:00 committed by Alexander Kalenik
parent 3431b3235c
commit 048d6b8012
Notes: github-actions[bot] 2025-02-17 23:03:30 +00:00
2 changed files with 1 additions and 23 deletions

View file

@ -244,7 +244,7 @@ static WebIDL::ExceptionOr<::Crypto::PK::RSAPrivateKey<>> parse_jwk_rsa_private_
// We know that if any of the extra parameters are provided, all of them must be
if (!jwk.p.has_value())
return ::Crypto::PK::RSAPrivateKey<>(move(n), move(d), move(e), 0, 0);
return ::Crypto::PK::RSAPrivateKey<>(move(n), move(d), move(e));
auto p = TRY(base64_url_uint_decode(realm, *jwk.p));
auto q = TRY(base64_url_uint_decode(realm, *jwk.q));