Raise concerns

This commit is contained in:
Stéphane Lepin 2016-11-18 18:25:53 +01:00
parent 24c8473524
commit 90f236a201

View File

@ -97,7 +97,7 @@ void Config::SetPassword(const char *password) {
bool Config::CheckAuth(const char *response) {
size_t challengeLength = strlen(this->Challenge);
// Concatenate challenge with itself
// Concatenate challenge with itself (dafuq ?)
char *challengeAndResponse = (char*)bzalloc(challengeLength * 2);
memcpy(challengeAndResponse, this->Challenge, challengeLength);
memcpy(challengeAndResponse + challengeLength, this->Challenge, challengeLength);