summaryrefslogtreecommitdiff
path: root/modules/encryption/enc_sha256.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
committerSadie Powell <sadie@witchery.services>2023-12-17 13:59:49 +0000
commit6538641e8703084460df70d04196ac271eff1266 (patch)
tree2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /modules/encryption/enc_sha256.cpp
parenteb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff)
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'modules/encryption/enc_sha256.cpp')
-rw-r--r--modules/encryption/enc_sha256.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/encryption/enc_sha256.cpp b/modules/encryption/enc_sha256.cpp
index d5cebcb74..71950a32e 100644
--- a/modules/encryption/enc_sha256.cpp
+++ b/modules/encryption/enc_sha256.cpp
@@ -152,7 +152,7 @@ class SHA256Context : public Encryption::Context
uint32_t h[8];
unsigned char digest[SHA256_DIGEST_SIZE];
- public:
+public:
SHA256Context(Encryption::IV *iv)
{
if (iv != NULL)
@@ -218,7 +218,7 @@ class SHA256Context : public Encryption::Context
class SHA256Provider : public Encryption::Provider
{
- public:
+public:
SHA256Provider(Module *creator) : Encryption::Provider(creator, "sha256") { }
Encryption::Context *CreateContext(Encryption::IV *iv) override
@@ -271,7 +271,7 @@ class ESHA256 : public Module
PACK32(reinterpret_cast<unsigned char *>(&buf2[i << 2]), iv[i]);
}
- public:
+public:
ESHA256(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR),
sha256provider(this)
{