diff options
author | Richard Levitte <levitte@openssl.org> | 2020-02-03 05:42:48 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-02-07 09:37:56 +0100 |
commit | 68552cdef7631191e77315e0faeb42c6893cafe3 (patch) | |
tree | b289807007316a0b0a8dfba53acc5f6fa8dbcc4e /crypto/evp/exchange.c | |
parent | bd2ff9e8674b34a7547a7fa75b81b6b36f60dbb8 (diff) |
Reorganize the internal evp_keymgmt functions
Some of the evp_keymgmt_ functions are just wrappers around the
EVP_KEYMGMT function pointers. We move those from keymgmt_lib.c to
keymgmt_meth.c.
Other evp_keymgmt_ functions are utility functions to help the rest of
the EVP functions. Since their names are easily confused with the
functions that were moved to keymgmt_meth.c, we rename them so they
all start with evp_keymgmt_util_.
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)
Diffstat (limited to 'crypto/evp/exchange.c')
-rw-r--r-- | crypto/evp/exchange.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/evp/exchange.c b/crypto/evp/exchange.c index 1f87c59343..fa9367905f 100644 --- a/crypto/evp/exchange.c +++ b/crypto/evp/exchange.c @@ -293,7 +293,7 @@ int EVP_PKEY_derive_set_peer(EVP_PKEY_CTX *ctx, EVP_PKEY *peer) return -2; } - provkey = evp_keymgmt_export_to_provider(peer, ctx->keymgmt, 0); + provkey = evp_keymgmt_util_export_to_provider(peer, ctx->keymgmt, 0); /* If export failed, legacy may be able to pick it up */ if (provkey == NULL) goto legacy; |