(krb5_mk_error): return an error number and not a comerr'd number.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@2591 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-07-24 07:21:27 +00:00
parent 99c434bf0d
commit 04738fd3c4

View File

@@ -64,7 +64,7 @@ krb5_mk_error(krb5_context context,
if(ctime) {
msg.ctime = &ctime;
}
msg.error_code = error_code;
msg.error_code = error_code - KRB5KDC_ERR_NONE;
if (e_text)
msg.e_text = (general_string*)&e_text;
if (e_data)