Commit 2986ecdc authored by Dr. Stephen Henson's avatar Dr. Stephen Henson
Browse files

Extend EVP_PKEY_copy_parameters()



Make EVP_PKEY_copy_parameters() work if the destination has no type
(e.g. if obtained from EVP_PKEY_new()) or the underlying key is NULL.
This is useful where we want to copy the parameters from an existing
key to a new key.

Reviewed-by: default avatarViktor Dukhovni <viktor@openssl.org>
parent d911097d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment