clear error string.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20304 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -45,8 +45,10 @@ krb5_rd_error(krb5_context context,
|
||||
krb5_error_code ret;
|
||||
|
||||
ret = decode_KRB_ERROR(msg->data, msg->length, result, &len);
|
||||
if(ret)
|
||||
if(ret) {
|
||||
krb5_clear_error_string(context);
|
||||
return ret;
|
||||
}
|
||||
result->error_code += KRB5KDC_ERR_NONE;
|
||||
return 0;
|
||||
}
|
||||
|
Reference in New Issue
Block a user