From 2293032121d33299be4f21a599aab84413467f8d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 18 Dec 2019 13:26:47 +0100 Subject: [PATCH] PROV: Adjust the KEYMGMT name specs to include all names This is very simply to allow the common case, where the KEYMGMT is fetched first, and all names are needed at that time to secure that they are found. Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/10647) --- providers/defltprov.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/providers/defltprov.c b/providers/defltprov.c index b4a17a5030..3220bc5220 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -388,12 +388,12 @@ static const OSSL_ALGORITHM deflt_asym_cipher[] = { static const OSSL_ALGORITHM deflt_keymgmt[] = { #ifndef OPENSSL_NO_DH - { "DH", "default=yes", dh_keymgmt_functions }, + { "DH:dhKeyAgreement", "default=yes", dh_keymgmt_functions }, #endif #ifndef OPENSSL_NO_DSA - { "DSA", "default=yes", dsa_keymgmt_functions }, + { "DSA:dsaEncryption", "default=yes", dsa_keymgmt_functions }, #endif - { "RSA", "default=yes", rsa_keymgmt_functions }, + { "RSA:rsaEncryption", "default=yes", rsa_keymgmt_functions }, { NULL, NULL, NULL } }; -- 2.34.1