[#ENGINE_set_EC]
= ENGINE&lowbar;set&lowbar;EC
:mrdocs:

Attach an EC&lowbar;KEY&lowbar;METHOD implementation to an ENGINE (deprecated)&period;

== Synopsis

Declared in `&lt;openssl&sol;engine&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;deprecated&rsqb;&rsqb;
int
ENGINE&lowbar;set&lowbar;EC(
    xref:ENGINE.adoc[ENGINE]* e,
    xref:EC_KEY_METHOD.adoc[EC&lowbar;KEY&lowbar;METHOD] const* ecdsa&lowbar;meth);
----

[WARNING]
====
https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged.
====
== Return Value

Non&hyphen;zero on success, or 0 on failure&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *e*
| ENGINE that will expose the method&period;
| *ecdsa&lowbar;meth*
| EC key method table for ECDSA&sol;ECDH operations, or NULL to clear&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
