EC_KEY_copy

Copies a EC_KEY object.

Synopsis

Declared in <openssl/ec.h>

[[deprecated]]
EC_KEY*
EC_KEY_copy(
    EC_KEY* dst,
    EC_KEY const* src);

WARNING

Deprecated. Use of this entity is allowed but discouraged.

Return Value

dst or NULL if an error occurred.

Parameters

NameDescription
dstdestination EC_KEY object
srcsrc EC_KEY object