EVP: Add support for copying provided EVP_PKEYs
authorRichard Levitte <levitte@openssl.org>
Wed, 5 Feb 2020 15:30:21 +0000 (16:30 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 2 Mar 2020 02:27:03 +0000 (03:27 +0100)
commitff3b59e1705a40f7cfc6df8d788d08b0a525aa58
treeff934479411cb20f3a2491b172023afbbca94795
parent13697f1c62e98a4c1365fd85cb39ada0f47dce5f
EVP: Add support for copying provided EVP_PKEYs

This adds evp_keymgmt_util_copy() and affects EVP_PKEY_copy_parameters()

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11158)
crypto/evp/keymgmt_lib.c
crypto/evp/p_lib.c
include/crypto/evp.h