config_get_binding_domain_tls_verify
Name
config_get_binding_domain_tls_verify — Determine the value of the tls_verify option
Synopsis
#include "ec_config.h"
| int **config_get_binding_domain_tls_verify** (
| caller_scope, | |
| | binding, | |
| | domain)
; | |
generic_module_infrastructure * <var class="pdparam">caller_scope</var>
;
int <var class="pdparam">binding</var>
;
const * <var class="pdparam">domain</var>
;
Description
Determine the value of the tls_verify configuration option.
Note
The caller_scope
argument is virtually always NULL
; there is no reason for a consumer to make it anything else.
- caller_scope
-
For a definition of this data type see “generic_module_infrastructure”.
- binding
-
The binding identifier.
- domain
-
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.