ec_ssl_set_ctx_verify_mode

March 26, 2020 Contributors

Name

ec_ssl_set_ctx_verify_mode — sets the tls_verify ec_ssl_ctx_param member

Synopsis

#include "ec_ssl.h"

| int **ec_ssl_set_ctx_verify_mode** ( | tls, |   |
|   | value); |   |

ec_ssl_ctx_params * <var class="pdparam">tls</var>;
const char * <var class="pdparam">value</var>;

Description

Note

This reference page was automatically generated from functions found in the header files in the development branch. The function described here may not exist in generally available versions of Momentum, and may change in behavior when it is generally available. Consult your vendor for definitive advice on the use of this function.

sets the tls_verify ec_ssl_ctx_param member.

Intended to be called from core_get_inbound_tls_parameters_hook() and core_get_outbound_tls_parameters_hook(). tls should point at the context ec_ssl_ctx_params. Vaid values are "none", "ifavailable" and "required".

Return Values

true if the value could be stored