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:
Johan Danielsson
2002-08-28 15:27:24 +00:00
parent d07685c5a6
commit b59dafe5ca

View File

@@ -260,6 +260,12 @@ krb5_set_config_files(krb5_context context, char **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);
context->cf = tmp;
ret = init_context_from_config_file(context);