diff options
| author | Shauren <shauren.trinity@gmail.com> | 2017-05-11 22:29:51 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2017-05-11 22:29:51 +0200 |
| commit | 3a418a0bbc8e155e5395595c5e25c038d3c7c773 (patch) | |
| tree | 45359566bd6e360dd133e7ef43bc2a42e26baf56 /src/common/Cryptography | |
| parent | 8abc56c540b5d2c583e40ad3d302c43068778ed1 (diff) | |
Core/Common: Include cleanup
Diffstat (limited to 'src/common/Cryptography')
| -rw-r--r-- | src/common/Cryptography/BigNumber.h | 2 | ||||
| -rw-r--r-- | src/common/Cryptography/HmacHash.cpp | 3 | ||||
| -rw-r--r-- | src/common/Cryptography/SessionKeyGeneration.h | 3 |
3 files changed, 5 insertions, 3 deletions
diff --git a/src/common/Cryptography/BigNumber.h b/src/common/Cryptography/BigNumber.h index c8ca5860933..8936ffffe53 100644 --- a/src/common/Cryptography/BigNumber.h +++ b/src/common/Cryptography/BigNumber.h @@ -19,8 +19,8 @@ #ifndef _AUTH_BIGNUMBER_H #define _AUTH_BIGNUMBER_H -#include <memory> #include "Define.h" +#include <memory> #include <string> struct bignum_st; diff --git a/src/common/Cryptography/HmacHash.cpp b/src/common/Cryptography/HmacHash.cpp index 8432ce3a322..1c38a7e0117 100644 --- a/src/common/Cryptography/HmacHash.cpp +++ b/src/common/Cryptography/HmacHash.cpp @@ -18,7 +18,8 @@ #include "HmacHash.h" #include "BigNumber.h" -#include "Common.h" +#include "Errors.h" +#include <cstring> template<HashCreateFn HashCreator, uint32 DigestLength> HmacHash<HashCreator, DigestLength>::HmacHash(uint32 len, uint8 const* seed) diff --git a/src/common/Cryptography/SessionKeyGeneration.h b/src/common/Cryptography/SessionKeyGeneration.h index 4507ae1aa0a..fdf468701bb 100644 --- a/src/common/Cryptography/SessionKeyGeneration.h +++ b/src/common/Cryptography/SessionKeyGeneration.h @@ -19,7 +19,8 @@ #ifndef SessionKeyGeneration_h__ #define SessionKeyGeneration_h__ -#include "Common.h" +#include "Define.h" +#include <cstring> template<class Hash> class SessionKeyGenerator |
