Fixed static access

This commit is contained in:
WolverinDEV 2019-07-06 15:02:09 +02:00
parent 48b4bace5d
commit 6b02d4a9d8

View File

@ -174,8 +174,8 @@ bool CryptionHandler::generate_key_nonce(
uint8_t (& nonce)[16]
) {
if (this->useDefaultChipherKeyNonce || use_default) {
memcpy(key, this->default_key, 16);
memcpy(nonce, this->default_nonce, 16);
memcpy(key, CryptionHandler::default_key, 16);
memcpy(nonce, CryptionHandler::default_nonce, 16);
return true;
}