summaryrefslogtreecommitdiff
path: root/csgo-loader/csgo-server/Security/Encryption.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'csgo-loader/csgo-server/Security/Encryption.cpp')
-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;
}