EVP: Fix calls to evp_pkey_export_to_provider()
authorRichard Levitte <levitte@openssl.org>
Wed, 15 Apr 2020 07:54:11 +0000 (09:54 +0200)
committerPauli <paul.dale@oracle.com>
Fri, 17 Apr 2020 09:50:03 +0000 (19:50 +1000)
commitd0ddf9b409495e8e2adab8a6b5bc38b34273341a
tree84254d0480cef857e6b399ef9cce2f6c9990d0c5
parent6f892296038490a7fa24b32ac6f7305687634fb0
EVP: Fix calls to evp_pkey_export_to_provider()

The calls weren't quite right, as this function has changed its behaviour.
We also change the internal documentation of this function, and document
evp_pkey_downgrade().

Fixes #11549

Reviewed-by: Paul Dale <paul.dale@oracle.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11550)
crypto/evp/keymgmt_meth.c
crypto/evp/pmeth_gn.c
crypto/evp/signature.c
doc/internal/man3/evp_pkey_export_to_provider.pod