(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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user