This commit is contained in:
Konrad Kuśnierz 2017-05-01 18:15:16 +02:00
parent 8871659b07
commit c87c450905
2 changed files with 3 additions and 3 deletions

View File

@ -160,9 +160,9 @@ void Protocol::setXteaKey(uint32 a, uint32 b, uint32 c, uint32 d)
m_xteaKey[3] = d;
}
std::vector<int> Protocol::getXteaKey()
std::vector<uint32> Protocol::getXteaKey()
{
std::vector<int> xteaKey;
std::vector<uint32> xteaKey;
xteaKey.resize(4);
for(int i = 0; i < 4; ++i)
xteaKey[i] = m_xteaKey[i];

View File

@ -49,7 +49,7 @@ public:
void generateXteaKey();
void setXteaKey(uint32 a, uint32 b, uint32 c, uint32 d);
std::vector<int> getXteaKey();
std::vector<uint32> getXteaKey();
void enableXteaEncryption() { m_xteaEncryptionEnabled = true; }
void enableChecksum() { m_checksumEnabled = true; }