Attach an EC_KEY_METHOD to key (deprecated).
Declared in <openssl/ec.h>
[[deprecated]]
int
EC_KEY_set_method(
EC_KEY* key,
EC_KEY_METHOD const* meth);
Deprecated. Use of this entity is allowed but discouraged.
1 on success, or 0 on failure.
| Name | Description |
|---|---|
| key | Key whose method table is replaced. |
| meth | Method table to use; must outlive key unless replaced again. |