summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibCrypto/Authentication
diff options
context:
space:
mode:
authorAndreas Kling <kling@serenityos.org>2021-11-11 01:06:34 +0100
committerAndreas Kling <kling@serenityos.org>2021-11-11 01:27:46 +0100
commit80d4e830a0a95a41e3a3a6ccdc938fdfc4c7430b (patch)
tree80482418dd76af80034d5dc215db51c12ce27f67 /Userland/Libraries/LibCrypto/Authentication
parent8b1108e4858f797c9216dc8ae4a3918ad50c73b4 (diff)
downloadserenity-80d4e830a0a95a41e3a3a6ccdc938fdfc4c7430b.zip
Everywhere: Pass AK::ReadonlyBytes by value
Diffstat (limited to 'Userland/Libraries/LibCrypto/Authentication')
-rw-r--r--Userland/Libraries/LibCrypto/Authentication/GHash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Libraries/LibCrypto/Authentication/GHash.h b/Userland/Libraries/LibCrypto/Authentication/GHash.h
index 82a9dc573b..5225d906d9 100644
--- a/Userland/Libraries/LibCrypto/Authentication/GHash.h
+++ b/Userland/Libraries/LibCrypto/Authentication/GHash.h
@@ -34,7 +34,7 @@ public:
{
}
- explicit GHash(const ReadonlyBytes& key)
+ explicit GHash(ReadonlyBytes key)
{
VERIFY(key.size() >= 16);
for (size_t i = 0; i < 16; i += 4) {