diff options
author | Tomas Mraz <tomas@openssl.org> | 2021-04-16 16:22:03 +0200 |
---|---|---|
committer | Tomas Mraz <tomas@openssl.org> | 2021-04-26 12:05:05 +0200 |
commit | 6c9bc258d2e9e7b500236a1c696da1f384f0b907 (patch) | |
tree | 28928eb5dc1acc246c1b3309328aea2031056ce3 /include/crypto | |
parent | d21224f1adcd948699e536eaf570f42ef9a051f7 (diff) |
Add type_name member to provided methods and use it
Fixes #14701
Reviewed-by: Richard Levitte <levitte@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/14898)
Diffstat (limited to 'include/crypto')
-rw-r--r-- | include/crypto/evp.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/crypto/evp.h b/include/crypto/evp.h index 99e884ecfb..f4b12d1400 100644 --- a/include/crypto/evp.h +++ b/include/crypto/evp.h @@ -193,6 +193,7 @@ const EVP_PKEY_METHOD *ossl_rsa_pss_pkey_method(void); struct evp_mac_st { OSSL_PROVIDER *prov; int name_id; + char *type_name; const char *description; CRYPTO_REF_COUNT refcnt; @@ -215,6 +216,7 @@ struct evp_mac_st { struct evp_kdf_st { OSSL_PROVIDER *prov; int name_id; + char *type_name; const char *description; CRYPTO_REF_COUNT refcnt; CRYPTO_RWLOCK *lock; @@ -258,6 +260,7 @@ struct evp_md_st { /* New structure members */ /* Above comment to be removed when legacy has gone */ int name_id; + char *type_name; const char *description; OSSL_PROVIDER *prov; CRYPTO_REF_COUNT refcnt; @@ -313,6 +316,7 @@ struct evp_cipher_st { /* New structure members */ /* Above comment to be removed when legacy has gone */ int name_id; + char *type_name; const char *description; OSSL_PROVIDER *prov; CRYPTO_REF_COUNT refcnt; |