ec_ssl_set_verify_errmsg
Last updated March 2020
Name
ec_ssl_set_verify_errmsg — Set the verify error message and code
Synopsis
#include "ec_ssl.h"
| void **ec_ssl_set_verify_errmsg** (
| ctx, | |
| | code, | |
| | msg)
; | |
ec_ssl_ctx * <var class="pdparam">ctx</var>
;
int <var class="pdparam">code</var>
;
const char * <var class="pdparam">msg</var>
;
Description
Set the verify error message and code. The error message must be a single line without line endings; it will be appropriately formatted and sent to the peer according to the protocol in use.
To clear the 'verify' error, call with code set to 0
and msg set to NULL
.
- ctx
-
The SSL context.
- code
-
The error code.
- msg
-
The error message.
This function returns void.
It is legal to call this function in the Scheduler
thread.
See Also
Was this page helpful?