diff --git a/lib/hx509/ks_file.c b/lib/hx509/ks_file.c index 555769aa2..6115e21bc 100644 --- a/lib/hx509/ks_file.c +++ b/lib/hx509/ks_file.c @@ -349,6 +349,7 @@ parse_pem_file(hx509_context context, } free(data); data = NULL; + len = 0; free(type); type = NULL; where = BEFORE;