diff options
author | Richard Levitte <levitte@openssl.org> | 2019-12-18 13:24:27 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2020-01-09 15:01:28 +0100 |
commit | f23bc0b770efd229e27519786d9f28da56752d0a (patch) | |
tree | 9ed18bbd3e8a3cc97c6a78a387fc1f7c585c78cd /include | |
parent | e62a45b60e3166d995eb83840f437debf575c328 (diff) |
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 <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/10647)
Diffstat (limited to 'include')
-rw-r--r-- | include/crypto/evp.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |