EC_GROUP_dup

Creates a new EC_GROUP object and copies the content form src to the newly created EC_KEY object

Synopsis

Declared in <openssl/ec.h>

EC_GROUP*
EC_GROUP_dup(EC_GROUP const* src);

Return Value

newly created EC_GROUP object or NULL in case of an error.

Parameters

NameDescription
srcsource EC_GROUP object