summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypto/PK/RSA.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibCrypto/PK/RSA.h')
-rw-r--r--Userland/Libraries/LibCrypto/PK/RSA.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCrypto/PK/RSA.h b/Userland/Libraries/LibCrypto/PK/RSA.h
index 97867c3055..4663359e95 100644
--- a/Userland/Libraries/LibCrypto/PK/RSA.h
+++ b/Userland/Libraries/LibCrypto/PK/RSA.h
@@ -141,7 +141,7 @@ public:
import_private_key(privateKeyPEM);
}
- RSA(const StringView& privKeyPEM)
+ RSA(StringView privKeyPEM)
{
import_private_key(privKeyPEM.bytes());
m_public_key.set(m_private_key.modulus(), m_private_key.public_exponent());