diff options
| author | Per Larsson <[email protected]> | 2022-02-03 16:05:34 +0100 |
|---|---|---|
| committer | Per Larsson <[email protected]> | 2022-02-03 16:05:34 +0100 |
| commit | 18cc57792422a56bddc5797ceaa80dfe57e009b2 (patch) | |
| tree | 697c01ba75337e251a8e17bb5241fb81f99b85da /zenserver/auth/authmgr.cpp | |
| parent | Minor cleanup of free functions. (diff) | |
| download | zen-18cc57792422a56bddc5797ceaa80dfe57e009b2.tar.xz zen-18cc57792422a56bddc5797ceaa80dfe57e009b2.zip | |
Enable encryption on all platforms.
Diffstat (limited to 'zenserver/auth/authmgr.cpp')
| -rw-r--r-- | zenserver/auth/authmgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/zenserver/auth/authmgr.cpp b/zenserver/auth/authmgr.cpp index 0b7d7b492..2c54386ee 100644 --- a/zenserver/auth/authmgr.cpp +++ b/zenserver/auth/authmgr.cpp @@ -39,7 +39,7 @@ namespace details { return IoBuffer(); } - std::unique_ptr<SymmetricCipher> Cipher = MakeAesCipher(); + std::unique_ptr<SymmetricCipher> Cipher = SymmetricCipher::CreateAes(); if (Cipher->Initialize(EncryptionKey, IV) == false) { @@ -59,7 +59,7 @@ namespace details { return 0; } - std::unique_ptr<SymmetricCipher> Cipher = MakeAesCipher(); + std::unique_ptr<SymmetricCipher> Cipher = SymmetricCipher::CreateAes(); if (Cipher->Initialize(EncryptionKey, IV) == false) { |