EVP_PKEY_set1_engine

Associate an ENGINE with an EVP_PKEY for subsequent low-level operations (deprecated).

Synopsis

Declared in <openssl/evp.h>

[[deprecated]]
int
EVP_PKEY_set1_engine(
    EVP_PKEY* pkey,
    ENGINE* e);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 on success, or 0 on failure.

Parameters

NameDescription
pkeyKey whose ENGINE reference is set.
eENGINE to attach, or NULL to clear.