From f23bc0b770efd229e27519786d9f28da56752d0a Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 18 Dec 2019 13:24:27 +0100 Subject: EVP: Adapt KEYEXCH, SIGNATURE and ASYM_CIPHER to handle key types better The adaptation is to handle the case when key types and operations that use these keys have different names. For example, EC keys can be used for ECDSA and ECDH. Reviewed-by: Shane Lontis (Merged from https://github.com/openssl/openssl/pull/10647) --- include/crypto/evp.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/crypto/evp.h b/include/crypto/evp.h index 592cbdd536..973ef203ba 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -22,11 +22,11 @@ struct evp_pkey_ctx_st { int operation; /* - * Library context, Algorithm name and properties associated + * Library context, Key type name and properties associated * with this context */ OPENSSL_CTX *libctx; - const char *algorithm; + const char *keytype; const char *propquery; /* cached key manager */ -- cgit v1.2.3