ENGINE_ctrl_cmd_string

Run a named ENGINE control command whose argument is a string (deprecated).

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_ctrl_cmd_string(
    ENGINE* e,
    char const* cmd_name,
    char const* arg,
    int cmd_optional);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
eENGINE that receives the command.
cmd_nameCommand name as advertised by the ENGINE.
argString argument for the command, or NULL.
cmd_optionalNon-zero to treat an unknown command as success.