diff options
| author | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2023-12-17 13:59:49 +0000 |
| commit | 6538641e8703084460df70d04196ac271eff1266 (patch) | |
| tree | 2bf8ab8fdd0fb4839d86607826bc09c3366e3870 /modules/encryption | |
| parent | eb0e5c89b2a1e59091001ffd0e54582c2ff04212 (diff) | |
Remove some unnecessary spaces that break editor indentation.
Diffstat (limited to 'modules/encryption')
| -rw-r--r-- | modules/encryption/enc_bcrypt.cpp | 2 | ||||
| -rw-r--r-- | modules/encryption/enc_md5.cpp | 6 | ||||
| -rw-r--r-- | modules/encryption/enc_none.cpp | 2 | ||||
| -rw-r--r-- | modules/encryption/enc_old.cpp | 4 | ||||
| -rw-r--r-- | modules/encryption/enc_sha1.cpp | 6 | ||||
| -rw-r--r-- | modules/encryption/enc_sha256.cpp | 6 |
6 files changed, 13 insertions, 13 deletions
diff --git a/modules/encryption/enc_bcrypt.cpp b/modules/encryption/enc_bcrypt.cpp index 94c6fc164..653f28d7b 100644 --- a/modules/encryption/enc_bcrypt.cpp +++ b/modules/encryption/enc_bcrypt.cpp @@ -45,7 +45,7 @@ class EBCRYPT : public Module return (ret == hash); } - public: +public: EBCRYPT(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR), rounds(10) { diff --git a/modules/encryption/enc_md5.cpp b/modules/encryption/enc_md5.cpp index 1fb12692a..25d33e0a6 100644 --- a/modules/encryption/enc_md5.cpp +++ b/modules/encryption/enc_md5.cpp @@ -227,7 +227,7 @@ class MD5Context : public Encryption::Context output[i] = static_cast<unsigned>(input[j]) | (static_cast<unsigned>(input[j + 1]) << 8) | (static_cast<unsigned>(input[j + 2]) << 16) | (static_cast<unsigned>(input[j + 3]) << 24); } - public: +public: MD5Context(Encryption::IV *iv = NULL) { if (iv != NULL) @@ -320,7 +320,7 @@ class MD5Context : public Encryption::Context class MD5Provider : public Encryption::Provider { - public: +public: MD5Provider(Module *creator) : Encryption::Provider(creator, "md5") { } Encryption::Context *CreateContext(Encryption::IV *iv) override @@ -341,7 +341,7 @@ class EMD5 : public Module { MD5Provider md5provider; - public: +public: EMD5(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR), md5provider(this) { diff --git a/modules/encryption/enc_none.cpp b/modules/encryption/enc_none.cpp index f91997b1c..4a5a96320 100644 --- a/modules/encryption/enc_none.cpp +++ b/modules/encryption/enc_none.cpp @@ -11,7 +11,7 @@ class ENone : public Module { - public: +public: ENone(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR) { if (ModuleManager::FindFirstOf(ENCRYPTION) == this) diff --git a/modules/encryption/enc_old.cpp b/modules/encryption/enc_old.cpp index a0fc224c8..6d0b09068 100644 --- a/modules/encryption/enc_old.cpp +++ b/modules/encryption/enc_old.cpp @@ -16,7 +16,7 @@ static ServiceReference<Encryption::Provider> md5("Encryption::Provider", "md5") class OldMD5Provider : public Encryption::Provider { - public: +public: OldMD5Provider(Module *creator) : Encryption::Provider(creator, "oldmd5") { } Encryption::Context *CreateContext(Encryption::IV *iv) override @@ -40,7 +40,7 @@ class EOld : public Module inline static char XTOI(char c) { return c > 9 ? c - 'A' + 10 : c - '0'; } - public: +public: EOld(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR), oldmd5provider(this) { diff --git a/modules/encryption/enc_sha1.cpp b/modules/encryption/enc_sha1.cpp index 0ddfcded0..b24c4bd83 100644 --- a/modules/encryption/enc_sha1.cpp +++ b/modules/encryption/enc_sha1.cpp @@ -106,7 +106,7 @@ class SHA1Context : public Encryption::Context a = b = c = d = e = 0; } - public: +public: SHA1Context(Encryption::IV *iv = NULL) { if (iv != NULL) @@ -180,7 +180,7 @@ class SHA1Context : public Encryption::Context class SHA1Provider : public Encryption::Provider { - public: +public: SHA1Provider(Module *creator) : Encryption::Provider(creator, "sha1") { } Encryption::Context *CreateContext(Encryption::IV *iv) override @@ -201,7 +201,7 @@ class ESHA1 : public Module { SHA1Provider sha1provider; - public: +public: ESHA1(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, ENCRYPTION | VENDOR), sha1provider(this) { 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) { |
