KEYMGMT: Require both get_params and gettable_params, or none
authorRichard Levitte <levitte@openssl.org>
Tue, 4 Feb 2020 16:49:28 +0000 (17:49 +0100)
committerRichard Levitte <levitte@openssl.org>
Fri, 7 Feb 2020 08:37:56 +0000 (09:37 +0100)
commit273a67e345567e4dc95bd962605a3e34532f2649
treedd082d42dc40251b1f0553242f9fc214c8fbe1d6
parent32b0645cf9f1e5c11ed1cb0fc1ff1dcd47541a93
KEYMGMT: Require both get_params and gettable_params, or none

The same go for the pairs import + import_types and export + export_types.

This required some additional changes in our KEYMGMT implementations.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11006)
crypto/evp/keymgmt_meth.c
providers/implementations/keymgmt/dh_kmgmt.c
providers/implementations/keymgmt/dsa_kmgmt.c
providers/implementations/keymgmt/rsa_kmgmt.c