summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_sha256.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-08-01 18:53:24 +0100
committerSadie Powell <sadie@witchery.services>2021-08-01 18:53:24 +0100
commit561b205c4a3a125c12a7926ef18fa1eb822c387c (patch)
treec763ddefe765e23ec0ff189e24d55f634b52b954 /modules/encryption/enc_sha256.cpp
parent376053e0acae2a37a8f5c77c8de25ebf8a8395a9 (diff)
parent91321bdf682eb5b512373bb56c722f943cbc8183 (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'modules/encryption/enc_sha256.cpp')
-rw-r--r--modules/encryption/enc_sha256.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/encryption/enc_sha256.cpp b/modules/encryption/enc_sha256.cpp
index 8690d513b..b425d6b9d 100644
--- a/modules/encryption/enc_sha256.cpp
+++ b/modules/encryption/enc_sha256.cpp
@@ -288,8 +288,8 @@ class ESHA256 : public Module
else
use_iv = false;
- Encryption::IV initilization(this->iv, 8);
- SHA256Context ctx(&initilization);
+ Encryption::IV initialization(this->iv, 8);
+ SHA256Context ctx(&initialization);
ctx.Update(reinterpret_cast<const unsigned char *>(src.c_str()), src.length());
ctx.Finalize();