diff options
author | Shauren <shauren.trinity@gmail.com> | 2019-07-16 20:39:25 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2019-07-16 20:39:25 +0200 |
commit | 3bb26a04f2ceb8b302f4727ed1487f190aaba51b (patch) | |
tree | 451fb4a044726e4fef581e4e653ba81396bff3f0 /src/common/Cryptography/AES.h | |
parent | 5ba2d3616eb9602f5b8622895b92438f3a0f3689 (diff) |
Core/PacketIO: Fix sending uninitialized data
Diffstat (limited to 'src/common/Cryptography/AES.h')
-rw-r--r-- | src/common/Cryptography/AES.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Cryptography/AES.h b/src/common/Cryptography/AES.h index c091ef670dc..3764bba1094 100644 --- a/src/common/Cryptography/AES.h +++ b/src/common/Cryptography/AES.h @@ -33,7 +33,7 @@ public: void Init(uint8 const* key); - bool Process(uint8 const* iv, uint8* data, std::size_t length, uint8* tag); + bool Process(uint8 const* iv, uint8* data, std::size_t length, uint8(&tag)[12]); private: EVP_CIPHER_CTX* _ctx; |