git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23797 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2008-09-07 21:33:22 +00:00
parent 1b3fa39064
commit 2d6cf77e3d

View File

@@ -100,7 +100,8 @@ krb5_rd_safe(krb5_context context,
{ {
if (outdata == NULL) { if (outdata == NULL) {
krb5_set_error_message(context, KRB5_RC_REQUIRED, krb5_set_error_message(context, KRB5_RC_REQUIRED,
"rd_safe: need outdata to return data"); N_("rd_safe: need outdata "
"to return data", ""));
return KRB5_RC_REQUIRED; /* XXX better error, MIT returns this */ return KRB5_RC_REQUIRED; /* XXX better error, MIT returns this */
} }
/* if these fields are not present in the safe-part, silently /* if these fields are not present in the safe-part, silently
@@ -193,7 +194,7 @@ krb5_rd_safe(krb5_context context,
outbuf->data = malloc(outbuf->length); outbuf->data = malloc(outbuf->length);
if (outbuf->data == NULL && outbuf->length != 0) { if (outbuf->data == NULL && outbuf->length != 0) {
ret = ENOMEM; ret = ENOMEM;
krb5_set_error_message(context, ret, "malloc: out of memory"); krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
krb5_data_zero(outbuf); krb5_data_zero(outbuf);
goto failure; goto failure;
} }