(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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user