Allocate a new empty ENGINE with a structural reference count of one.

Synopsis

Declared in <openssl/engine.h>

[[deprecated]]
ENGINE*
ENGINE_new();
Warning

Deprecated. Use of this entity is allowed but discouraged.

Description

Does not initialise the ENGINE for functional use; call ENGINE_init() after populating methods, or ENGINE_add() to insert it into the global list.

Return Value

New ENGINE ready to configure with ENGINE_set_*(), or NULL on allocation failure.

Created with MrDocs