slackbuilds/system/cve-check-tool/update-fmt.diff

12 lines
395 B
Diff

--- a/src/update.c 2017-07-15 11:15:33.823135795 +0300
+++ b/src/update.c 2017-07-15 11:16:16.063133913 +0300
@@ -188,7 +188,7 @@ static bool nvdcve_data_ok(const char *m
snprintf(&csum_data[idx], len, "%02hhx", digest[i]);
}
- ret = streq(csum_meta, csum_data);
+ ret = !strcasecmp(csum_meta, csum_data);
err_unmap:
munmap(buffer, length);