diff --git a/lib/hx509/ks_file.c b/lib/hx509/ks_file.c index 4dab673cf..16b8150b5 100644 --- a/lib/hx509/ks_file.c +++ b/lib/hx509/ks_file.c @@ -113,7 +113,7 @@ parse_file_der(const char *fn, Certificate *t) void *data; int ret; - ret = _hx509_map_file(fn, &data, &length); + ret = _hx509_map_file(fn, &data, &length, NULL); if (ret) return ret; diff --git a/lib/hx509/ks_p12.c b/lib/hx509/ks_p12.c index 3b0792306..b3a568f06 100644 --- a/lib/hx509/ks_p12.c +++ b/lib/hx509/ks_p12.c @@ -324,7 +324,7 @@ p12_init(hx509_context context, goto out; } - ret = _hx509_map_file(residue, &buf, &len); + ret = _hx509_map_file(residue, &buf, &len, NULL); if (ret) goto out;