[server,proxy] remove too strict assert

This commit is contained in:
akallabeth 2023-04-14 15:23:04 +02:00 committed by David Fort
parent c3f6b665cc
commit 48bbb08793

View File

@ -409,7 +409,7 @@ static char* pf_config_decode_base64(const char* data, const char* name, size_t*
free(decoded);
return NULL;
}
WINPR_ASSERT(strnlen(decoded, decoded_length) == decoded_length - 1);
*pLength = decoded_length;
return decoded;
}