commit | 2986ecdc08016de978f1134315623778420b51e5 | [log] [tgz] |
---|---|---|
author | Dr. Stephen Henson <steve@openssl.org> | Sun Dec 13 17:28:40 2015 +0000 |
committer | Dr. Stephen Henson <steve@openssl.org> | Mon Dec 14 23:06:14 2015 +0000 |
tree | d553d2766381f7bd4b04b38fb7f472379d6e903c | |
parent | d911097d7c93e4cfeab624b34d73fe51da158b69 [diff] |
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: Viktor Dukhovni <viktor@openssl.org>