ENGINE_add

Add e to OpenSSL's internal list of loaded ENGINEs.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
int
ENGINE_add(ENGINE* e);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Description

On success OpenSSL holds its own structural reference internally.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
eStructural reference to the ENGINE to register; the caller retains ownership and must still ENGINE_free() it.