add some disabled code to bail out if there is no parable config file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11254 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -260,6 +260,12 @@ krb5_set_config_files(krb5_context context, char **filenames)
|
|||||||
}
|
}
|
||||||
filenames++;
|
filenames++;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
|
/* with this enabled and if there are no config files, Kerberos is
|
||||||
|
considererd disabled */
|
||||||
|
if(tmp == NULL)
|
||||||
|
return ENOENT;
|
||||||
|
#endif
|
||||||
krb5_config_file_free(context, context->cf);
|
krb5_config_file_free(context, context->cf);
|
||||||
context->cf = tmp;
|
context->cf = tmp;
|
||||||
ret = init_context_from_config_file(context);
|
ret = init_context_from_config_file(context);
|
||||||
|
Reference in New Issue
Block a user