diff options
Diffstat (limited to 'Userland/Libraries/LibCrypto/Authentication/GHash.h')
-rw-r--r-- | Userland/Libraries/LibCrypto/Authentication/GHash.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibCrypto/Authentication/GHash.h b/Userland/Libraries/LibCrypto/Authentication/GHash.h index 0bfc8274cd..21b6039d5d 100644 --- a/Userland/Libraries/LibCrypto/Authentication/GHash.h +++ b/Userland/Libraries/LibCrypto/Authentication/GHash.h @@ -24,7 +24,7 @@ struct GHashDigest { constexpr static size_t Size = 16; u8 data[Size]; - const u8* immutable_data() const { return data; } + u8 const* immutable_data() const { return data; } size_t data_length() { return Size; } }; @@ -33,7 +33,7 @@ public: using TagType = GHashDigest; template<size_t N> - explicit GHash(const char (&key)[N]) + explicit GHash(char const (&key)[N]) : GHash({ key, N }) { } |