We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 430f3b5 commit edb7c61Copy full SHA for edb7c61
conf.c
@@ -226,7 +226,8 @@ parse_conf(const char *config_path)
226
if (fingerprint == NULL) {
227
errlogx(EX_CONFIG, "fingerprint allocation failed");
228
}
229
- for (unsigned int i = 0; i < SHA256_DIGEST_LENGTH; i++) {
+ unsigned int i;
230
+ for (i = 0; i < SHA256_DIGEST_LENGTH; i++) {
231
if(sscanf(data + 2 * i, "%02hhx", &fingerprint[i]) != 1) {
232
errlogx(EX_CONFIG, "failed to read fingerprint");
233
0 commit comments