diff options
author | Pauli <paul.dale@oracle.com> | 2020-11-04 12:31:19 +1000 |
---|---|---|
committer | Pauli <paul.dale@oracle.com> | 2020-11-05 18:54:20 +1000 |
commit | 649bd87cb46626472aada6b60682a5f23651954a (patch) | |
tree | 04519d66e51156158c98ee31c4d9a6aa62c2a011 | |
parent | 9750b4d39c610bac89fde009c3b22147eee0249c (diff) |
defltprov: remove duplicate algorithm names.
Ed25519 and Ed448 contained aliases that were the same as the primary name.
This removes the aliases leaving ED25519 and ED448 as the canonical names.
Matching is case insensitive, so no functionality is lost. The FIPS provider
didn't include the duplicates.
Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/13308)
-rw-r--r-- | providers/defltprov.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/providers/defltprov.c b/providers/defltprov.c index 123f03e726..425ec9a6c8 100644 --- a/providers/defltprov.c +++ b/providers/defltprov.c @@ -373,8 +373,8 @@ static const OSSL_ALGORITHM deflt_signature[] = { #endif { "RSA:rsaEncryption", "provider=default", ossl_rsa_signature_functions }, #ifndef OPENSSL_NO_EC - { "ED25519:Ed25519", "provider=default", ossl_ed25519_signature_functions }, - { "ED448:Ed448", "provider=default", ossl_ed448_signature_functions }, + { "ED25519", "provider=default", ossl_ed25519_signature_functions }, + { "ED448", "provider=default", ossl_ed448_signature_functions }, { "ECDSA", "provider=default", ecossl_dsa_signature_functions }, # ifndef OPENSSL_NO_SM2 { "SM2", "provider=default", sm2_signature_functions }, |