aboutsummaryrefslogtreecommitdiff
path: root/src/server/shared/Cryptography/Authentication
diff options
context:
space:
mode:
authorSpp <none@none>2010-12-06 02:07:53 +0100
committerSpp <none@none>2010-12-06 02:07:53 +0100
commit408fce1de69249b82cc042cb31f3fd16983c7e81 (patch)
treef4b99f386821e70f155d9aa61b70cfb1f2d3d825 /src/server/shared/Cryptography/Authentication
parente226c4ac344d06c7abbd6f04725ced2b33606349 (diff)
Core: Some optimizations
- Declare some functions const - Fix some mem leak - Fix some resource leak - Remove unused variables and functions - Remove duplicate functions - Reduce the scope of some variables - Remove unused file --HG-- branch : trunk
Diffstat (limited to 'src/server/shared/Cryptography/Authentication')
-rwxr-xr-xsrc/server/shared/Cryptography/Authentication/AuthCrypt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/shared/Cryptography/Authentication/AuthCrypt.h b/src/server/shared/Cryptography/Authentication/AuthCrypt.h
index 752071d177d..2336e4a76db 100755
--- a/src/server/shared/Cryptography/Authentication/AuthCrypt.h
+++ b/src/server/shared/Cryptography/Authentication/AuthCrypt.h
@@ -34,7 +34,7 @@ class AuthCrypt
void DecryptRecv(uint8 *, size_t);
void EncryptSend(uint8 *, size_t);
- bool IsInitialized() { return _initialized; }
+ bool IsInitialized() const { return _initialized; }
private:
ARC4 _clientDecrypt;