mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +00:00
LibCrypto: Use BitmapView instead of Bitmap::wrap()
This commit is contained in:
parent
a1d1a3b50b
commit
ed9ab38b3b
Notes:
sideshowbarker
2024-07-18 21:43:19 +09:00
Author: https://github.com/awesomekling
Commit: ed9ab38b3b
3 changed files with 5 additions and 6 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue