EC_KEY_METHOD_new

Allocate a new EC_KEY_METHOD, optionally copying meth.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_KEY_METHOD*
EC_KEY_METHOD_new(EC_KEY_METHOD const* meth);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

A newly allocated method table, or NULL on error.

Parameters

NameDescription
methMethod to copy, or NULL for an empty method table.