spelling, from Tollef Fog Heen via Brian May of Debian

This commit is contained in:
Love Hornquist Astrand
2010-04-11 16:36:15 -07:00
parent b7c0365677
commit dd34c02329

View File

@@ -316,7 +316,7 @@ hdb_entry_get_password(krb5_context context, HDB *db,
str = pw.data;
if (str[pw.length - 1] != '\0') {
krb5_set_error_message(context, EINVAL, "password malformated");
krb5_set_error_message(context, EINVAL, "malformed password");
return EINVAL;
}
@@ -332,7 +332,8 @@ hdb_entry_get_password(krb5_context context, HDB *db,
ret = krb5_unparse_name(context, entry->principal, &str);
if (ret == 0) {
krb5_set_error_message(context, ENOENT, "no password attributefor %s", str);
krb5_set_error_message(context, ENOENT,
"no password attribute for %s", str);
free(str);
} else
krb5_clear_error_message(context);