mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-05 08:31:51 +00:00
LibCrypto: Remove unused constructors from RSA
class
This commit is contained in:
parent
3431b3235c
commit
048d6b8012
Notes:
github-actions[bot]
2025-02-17 23:03:30 +00:00
Author: https://github.com/devgianlu
Commit: 048d6b8012
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3606
2 changed files with 1 additions and 23 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue