Make sure we save the copy function when registering a new Keymgmt
authorMatt Caswell <matt@openssl.org>
Fri, 22 May 2020 13:09:13 +0000 (14:09 +0100)
committerMatt Caswell <matt@openssl.org>
Fri, 19 Jun 2020 09:19:32 +0000 (10:19 +0100)
commit6136ecaa955506ff5f5fcdbc69976914418d561b
treea031b3c3fc0e7efb230043c43b985c3778305608
parent0c13cdf835086a7bd29c32c55e7675e5a8827a31
Make sure we save the copy function when registering a new Keymgmt

If a provider had a "copy" function in the its keymgmt definition we
were ignoring it.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11914)
crypto/evp/keymgmt_meth.c