krb5_mk_error -- Format an error
message

C Prototype

krb5_error_code krb5_mk_error(
krb5_context context,
const krb5_error *dec_err,
krb5_data *enc_err );
Arguments

context (input/output) | | The context structure. |
| dec_err (input) | | The error structure to format. |
| enc_err (output) | | The formatted error buffer. |
Description

This routine formats the error structure *dec_err into
an error buffer *enc_err.
The error buffer storage (enc_err->data)
is allocated, and should be freed by the caller when finished.
Return
Values

This routine returns the following KRB5 status code: