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

Name

Description

cctx

Configuration context previously prepared with flags/prefix/target.

cmd

Command or option name (prefix‐sensitive; see SSL_CONF_cmd(3)).

value

Optional value for cmd, or NULL when unused.

Created with MrDocs