krb5: Context has to be opt. in for path tok. exp.

This commit is contained in:
Nicolas Williams
2022-01-19 23:49:06 -06:00
parent 1eda4920c8
commit 9d0149d2f2

View File

@@ -55,8 +55,8 @@ _krb5_expand_path_tokens(krb5_context context,
int filepath,
char **ppath_out)
{
return heim_expand_path_tokens(context->hcontext, path_in, filepath,
ppath_out, NULL);
return heim_expand_path_tokens(context ? context->hcontext : NULL, path_in,
filepath, ppath_out, NULL);
}
/**