diff --git a/src/protocol/CryptionHandler.cpp b/src/protocol/CryptionHandler.cpp index d04d913..815faba 100644 --- a/src/protocol/CryptionHandler.cpp +++ b/src/protocol/CryptionHandler.cpp @@ -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; }