diff options
Diffstat (limited to 'src/common/Cryptography/ARC4.h')
-rw-r--r-- | src/common/Cryptography/ARC4.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/common/Cryptography/ARC4.h b/src/common/Cryptography/ARC4.h index 4f7fba1f31d..629be510bbc 100644 --- a/src/common/Cryptography/ARC4.h +++ b/src/common/Cryptography/ARC4.h @@ -19,19 +19,19 @@ #ifndef _AUTH_SARC4_H #define _AUTH_SARC4_H -#include <openssl/evp.h> #include "Define.h" +#include <openssl/evp.h> class TC_COMMON_API ARC4 { public: ARC4(uint32 len); - ARC4(uint8 *seed, uint32 len); + ARC4(uint8* seed, uint32 len); ~ARC4(); - void Init(uint8 *seed); - void UpdateData(int len, uint8 *data); + void Init(uint8* seed); + void UpdateData(int len, uint8* data); private: - EVP_CIPHER_CTX m_ctx; + EVP_CIPHER_CTX* m_ctx; }; #endif |