provide i18n hooks and renew krb5_create_checksum_iov from comments from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23733 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -61,7 +61,8 @@ krb5_copy_host_realm(krb5_context context,
|
||||
|
||||
*to = calloc (n, sizeof(**to));
|
||||
if (*to == NULL) {
|
||||
krb5_set_error_message (context, ENOMEM, "malloc: out of memory");
|
||||
krb5_set_error_message (context, ENOMEM,
|
||||
N_("malloc: out of memory", ""));
|
||||
return ENOMEM;
|
||||
}
|
||||
|
||||
@@ -69,7 +70,8 @@ krb5_copy_host_realm(krb5_context context,
|
||||
(*to)[i] = strdup(*p);
|
||||
if ((*to)[i] == NULL) {
|
||||
krb5_free_host_realm (context, *to);
|
||||
krb5_set_error_message (context, ENOMEM, "malloc: out of memory");
|
||||
krb5_set_error_message (context, ENOMEM,
|
||||
N_("malloc: out of memory", ""));
|
||||
return ENOMEM;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user