[#EVP_PKEY_set1_engine] = EVP_PKEY_set1_engine :mrdocs: Associate an ENGINE with an EVP_PKEY for subsequent low‐level operations (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int EVP_PKEY_set1_engine( xref:EVP_PKEY.adoc[EVP_PKEY]* pkey, xref:ENGINE.adoc[ENGINE]* e); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key whose ENGINE reference is set. | *e* | ENGINE to attach, or NULL to clear. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#