(krb5_set_config_files): return ENXIO instead of ENOENT when
"unconfigured" git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11467 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -259,7 +259,7 @@ krb5_set_config_files(krb5_context context, char **filenames)
|
|||||||
/* with this enabled and if there are no config files, Kerberos is
|
/* with this enabled and if there are no config files, Kerberos is
|
||||||
considererd disabled */
|
considererd disabled */
|
||||||
if(tmp == NULL)
|
if(tmp == NULL)
|
||||||
return ENOENT;
|
return ENXIO;
|
||||||
#endif
|
#endif
|
||||||
krb5_config_file_free(context, context->cf);
|
krb5_config_file_free(context, context->cf);
|
||||||
context->cf = tmp;
|
context->cf = tmp;
|
||||||
|
Reference in New Issue
Block a user