summaryrefslogtreecommitdiff
path: root/system/cve-check-tool/update-fmt.diff
blob: 9c75a9b587fb74ffa745fb508578f8787fd9f264 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- 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);