switch to krb5_clear_error_message

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23913 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-10-14 02:56:07 +00:00
parent 8cf907f08a
commit cdc2b37670
5 changed files with 10 additions and 10 deletions

View File

@@ -298,7 +298,7 @@ hdb_entry_get_password(krb5_context context, HDB *db,
ret = der_copy_octet_string(&ext->data.u.password.password, &pw);
}
if (ret) {
krb5_clear_error_string(context);
krb5_clear_error_message(context);
return ret;
}
@@ -323,7 +323,7 @@ hdb_entry_get_password(krb5_context context, HDB *db,
krb5_set_error_message(context, ENOENT, "no password attributefor %s", str);
free(str);
} else
krb5_clear_error_string(context);
krb5_clear_error_message(context);
return ENOENT;
}