HP Open Source Security for OpenVMS Volume 3:... |
KRB5 (Kerberos V5) Application Programming Interface |
|
|
| |
krb5_rd_error -- Read an error protocol message
krb5_error_code krb5_rd_error (
krb5_context context,
const krb5_data *enc_errbuf,
krb5_error **dec_error );
| context (input) | The context structure. | |
| enc_errbuf (input) | A pointer to the error protocol message. | |
| dec_error (output) | A pointer to allocated storage containing the error message. |
Description ![]()
Parses an error protocol message from enc_errbuf and
fills in *dec_error with a pointer to allocated
storage containing the error message. The caller is responsible
for freeing this structure by using krb5_free_error.
Return
Values ![]()
This routine returns one of the following KRB5 status code:
|
0 |
Successful completion. |
|
|