From ed9ab38b3b074f188ac739c132335dac2f0f6cb8 Mon Sep 17 00:00:00 2001 From: Andreas Kling Date: Thu, 4 Mar 2021 10:59:00 +0100 Subject: LibCrypto: Use BitmapView instead of Bitmap::wrap() --- Userland/Libraries/LibCrypto/PK/RSA.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Libraries/LibCrypto/PK') 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(); + auto data_result = decoder.read(); if (data_result.is_error()) { dbgln_if(RSA_PARSE_DEBUG, "RSA PKCS#8 public key parse failed: {}", data_result.error()); return keypair; -- cgit v1.2.3