SSL_CONF_cmd

Apply a configuration command (option plus optional value) to an SSL_CONF_CTX.

Synopsis

Declared in <openssl/ssl.h>

int
SSL_CONF_cmd(
    SSL_CONF_CTX* cctx,
    char const* cmd,
    char const* value);

Return Value

Positive on success (see man page for exact codes), 0 or negative on error.

Parameters

NameDescription
cctxConfiguration context previously prepared with flags/prefix/target.
cmdCommand or option name (prefix-sensitive; see SSL_CONF_cmd(3)).
valueOptional value for cmd, or NULL when unused.