mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +00:00
LibCrypto: Remove unused constructors from RSA class
This commit is contained in:
committed by
Alexander Kalenik
parent
3431b3235c
commit
048d6b8012
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user