config_get_binding_domain_tls_verify — Determine the value of the tls_verify option
int **config_get_binding_domain_tls_verify** ( | caller_scope, | |
| | binding, | |
| | domain
); | |
Determine the value of the tls_verify configuration option.
caller_scope argument is virtually always
NULL; there is no reason for a consumer to make it anything else.
For a definition of this data type see “generic_module_infrastructure”.
The binding identifier.
The domain name.
This function returns one of the following values:
EC_SSL_VERIFY_VALIDCA– The certificate must only be signed by a valid certificate authority
EC_SSL_VERIFY_HOSTNAME– The certificate must be signed by a valid certificate authority and the hostname presented must match the host to which we connected
EC_SSL_VERIFY_NONE– No verification will be performed
See tls_verify for more information.
It is legal to call this function in any thread.