Skip to main content

Name

ec_ssl_set_ctx_param — Set an ec_ssl_ctx_param member

Synopsis

#include "ec_ssl.h"

| int **ec_ssl_set_ctx_param** ( | param, |   | |   | value); |   |

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

Description

Set an ec_ssl_ctx_param member.

Call this function from core_get_inbound_tls_parameters_hook or core_get_outbound_tls_parameters_hook. param should point at one of the fields in ec_ssl_ctx_params. If param; is non-NULL, the memory is freed. Memory is allocated to store the value.

Return Values

This function returns true if the value is stored.

Threading

It is legal to call this function in the Scheduler thread.

See Also

Was this page helpful?