spelling, from Tollef Fog Heen via Brian May of Debian
This commit is contained in:
@@ -316,7 +316,7 @@ hdb_entry_get_password(krb5_context context, HDB *db,
|
|||||||
|
|
||||||
str = pw.data;
|
str = pw.data;
|
||||||
if (str[pw.length - 1] != '\0') {
|
if (str[pw.length - 1] != '\0') {
|
||||||
krb5_set_error_message(context, EINVAL, "password malformated");
|
krb5_set_error_message(context, EINVAL, "malformed password");
|
||||||
return EINVAL;
|
return EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -332,7 +332,8 @@ hdb_entry_get_password(krb5_context context, HDB *db,
|
|||||||
|
|
||||||
ret = krb5_unparse_name(context, entry->principal, &str);
|
ret = krb5_unparse_name(context, entry->principal, &str);
|
||||||
if (ret == 0) {
|
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);
|
free(str);
|
||||||
} else
|
} else
|
||||||
krb5_clear_error_message(context);
|
krb5_clear_error_message(context);
|
||||||
|
Reference in New Issue
Block a user