(hdb_set_master_keyfile): clear error string when not returning error

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10716 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
2001-09-18 07:42:09 +00:00
parent 5e22975920
commit 5f68cd1d3c

View File

@@ -490,6 +490,7 @@ hdb_set_master_keyfile (krb5_context context,
if (ret) {
if (ret != ENOENT)
return ret;
krb5_clear_error_string(context);
return 0;
}
db->master_key = key;