[#EVP_PKEY_get1_EC_KEY] = EVP_PKEY_get1_EC_KEY :mrdocs: Return a new reference to the EC_KEY held by `pkey` (deprecated). == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] xref:ec_key_st.adoc[ec_key_st]* EVP_PKEY_get1_EC_KEY(xref:EVP_PKEY.adoc[EVP_PKEY]* pkey); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value EC_KEY with an incremented reference count, or NULL if not an EC key; free with EC_KEY_free(). == Parameters [cols="1,4"] |=== | Name| Description | *pkey* | Key that must hold an EC key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#