aboutsummaryrefslogtreecommitdiff
path: root/providers/defltprov.c
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2019-12-18 13:26:47 +0100
committerRichard Levitte <levitte@openssl.org>2020-01-09 15:01:28 +0100
commit2293032121d33299be4f21a599aab84413467f8d (patch)
tree061e6c61488e72b3a6c3ea0d9ccd3ec56d789dcc /providers/defltprov.c
parentf23bc0b770efd229e27519786d9f28da56752d0a (diff)
downloadopenssl-2293032121d33299be4f21a599aab84413467f8d.zip
openssl-2293032121d33299be4f21a599aab84413467f8d.tar.gz
openssl-2293032121d33299be4f21a599aab84413467f8d.tar.bz2
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 <shane.lontis@oracle.com> (Merged from https://github.com/openssl/openssl/pull/10647)
Diffstat (limited to 'providers/defltprov.c')
-rw-r--r--providers/defltprov.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c
index b4a17a5..3220bc5 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 }
};