summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-server/Security
diff options
context:
space:
mode:
authorboris <wzn@moneybot.cc>2018-12-29 22:15:34 +1300
committerboris <wzn@moneybot.cc>2018-12-29 22:15:34 +1300
commit0340821cc614fda2a94a96c255d16105dd2f6f9a (patch)
tree77338a110f4c784c2a6c20fd25abfc49666cacca /csgo-loader/csgo-server/Security
parentbdb6ac5f940008bcd836e3c5f0a708f4b8f04865 (diff)
tcp is being autistic -_-
Diffstat (limited to 'csgo-loader/csgo-server/Security')
-rw-r--r--csgo-loader/csgo-server/Security/Encryption.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/csgo-loader/csgo-server/Security/Encryption.cpp b/csgo-loader/csgo-server/Security/Encryption.cpp
index dc6ef84..b79a1c3 100644
--- a/csgo-loader/csgo-server/Security/Encryption.cpp
+++ b/csgo-loader/csgo-server/Security/Encryption.cpp
@@ -614,11 +614,7 @@ namespace Wrapper
// Encrypt outgoing data.
ByteArray Encrypted;
- #ifdef DEBUG
- Encrypted = Data;
- #else
Aes256::encrypt(m_EncryptionKey, Data, Encrypted);
- #endif
return Encrypted;
}
@@ -628,11 +624,7 @@ namespace Wrapper
// Decrypt incoming data.
ByteArray Decrypted;
- #ifdef DEBUG
- Decrypted = Data;
- #else
Aes256::decrypt(m_EncryptionKey, Data, Decrypted);
- #endif
return Decrypted;
}