[#EVP_PKEY_set1_EC_KEY] = EVP_PKEY_set1_EC_KEY :mrdocs: Assign an EC_KEY to an EVP_PKEY, incrementing the EC_KEY reference count (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int EVP_PKEY_set1_EC_KEY( xref:EVP_PKEY.adoc[EVP_PKEY]* pkey, xref:ec_key_st.adoc[ec_key_st]* key); ---- [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* | Destination key wrapper. | *key* | EC_KEY to associate; its reference count is incremented on success. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#