[#EC_KEY_set_method] = EC_KEY_set_method :mrdocs: Attach an EC_KEY_METHOD to `key` (deprecated). == Synopsis Declared in `<openssl/ec.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int EC_KEY_set_method( xref:EC_KEY.adoc[EC_KEY]* key, xref:EC_KEY_METHOD.adoc[EC_KEY_METHOD] const* meth); ---- [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 | *key* | Key whose method table is replaced. | *meth* | Method table to use; must outlive `key` unless replaced again. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#