Don't use Windows specific path tokens in lib/krb5/config_file.c
This commit is contained in:

committed by
Love Hornquist Astrand

parent
4634af9078
commit
93445a8133
@@ -447,7 +447,7 @@ krb5_config_parse_file_multi (krb5_context context,
|
|||||||
fname = newfname;
|
fname = newfname;
|
||||||
}
|
}
|
||||||
#else /* KRB5_USE_PATH_TOKENS */
|
#else /* KRB5_USE_PATH_TOKENS */
|
||||||
asprintf(&newfname, "%%{APPDATA}%s", &fname[1]);
|
asprintf(&newfname, "%%{USERCONFIG}/%s", &fname[1]);
|
||||||
if (newfname == NULL) {
|
if (newfname == NULL) {
|
||||||
krb5_set_error_message(context, ENOMEM,
|
krb5_set_error_message(context, ENOMEM,
|
||||||
N_("malloc: out of memory", ""));
|
N_("malloc: out of memory", ""));
|
||||||
|
Reference in New Issue
Block a user