Increment array when comparing, from Harald Barth

This commit is contained in:
Love Hornquist Astrand
2013-09-30 21:15:35 -07:00
parent 7a8a78e417
commit dba64ce7f5

View File

@@ -653,7 +653,7 @@ hx509_revoke_add_crl(hx509_context context,
path += 5;
for (i = 0; i < ctx->crls.len; i++) {
if (strcmp(ctx->crls.val[0].path, path) == 0)
if (strcmp(ctx->crls.val[i].path, path) == 0)
return 0;
}