slackbuilds_ponce/system/cve-check-tool/update-fmt.diff
Serg Bormant c48e734137 system/cve-check-tool: Added (tool for checking known public CVEs).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-07-22 06:55:57 +07:00

11 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);