diff options
author | Andreas Kling <kling@serenityos.org> | 2021-03-04 10:59:00 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-03-04 11:25:45 +0100 |
commit | ed9ab38b3b074f188ac739c132335dac2f0f6cb8 (patch) | |
tree | 4591bc477121d29fbbdefb1205411e64379e4c44 /Userland/Libraries/LibCrypto/PK | |
parent | a1d1a3b50b3c00effa8ea44dd7c1c080eed8c34b (diff) | |
download | serenity-ed9ab38b3b074f188ac739c132335dac2f0f6cb8.zip |
LibCrypto: Use BitmapView instead of Bitmap::wrap()
Diffstat (limited to 'Userland/Libraries/LibCrypto/PK')
-rw-r--r-- | Userland/Libraries/LibCrypto/PK/RSA.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCrypto/PK/RSA.cpp b/Userland/Libraries/LibCrypto/PK/RSA.cpp index 2a5b7960b4..a19ea0ba4c 100644 --- a/Userland/Libraries/LibCrypto/PK/RSA.cpp +++ b/Userland/Libraries/LibCrypto/PK/RSA.cpp @@ -209,7 +209,7 @@ RSA::KeyPairType RSA::parse_rsa_key(ReadonlyBytes der) return keypair; // Now we have a bit string, which contains the PKCS#1 encoded public key. - auto data_result = decoder.read<Bitmap>(); + auto data_result = decoder.read<BitmapView>(); if (data_result.is_error()) { dbgln_if(RSA_PARSE_DEBUG, "RSA PKCS#8 public key parse failed: {}", data_result.error()); return keypair; |