mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Code cosmetics: init a vector.
This commit is contained in:
@@ -25,7 +25,7 @@ namespace Utils {
|
||||
|
||||
|
||||
std::string Sha1::hexdigest(const std::string& input) {
|
||||
unsigned char digest[20];
|
||||
unsigned char digest[20] = { 0 };
|
||||
static const char* const lut = "0123456789abcdef";
|
||||
|
||||
mbedtls_sha1(reinterpret_cast<const unsigned char *>(input.c_str()),
|
||||
|
Reference in New Issue
Block a user