From 6b9e37246d5fd8e701b825c71fa1a018916af33c Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Wed, 10 Jul 2019 22:22:16 +0200 Subject: Add a mechnism to save the name of fetched methods This will be useful for information display, as well as for code that want to check the name of an algorithm. This can eventually replace all NID checks. Reviewed-by: Paul Dale (Merged from https://github.com/openssl/openssl/pull/9356) --- crypto/include/internal/evp_int.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'crypto/include') diff --git a/crypto/include/internal/evp_int.h b/crypto/include/internal/evp_int.h index 50ed933926..9d878987bc 100644 --- a/crypto/include/internal/evp_int.h +++ b/crypto/include/internal/evp_int.h @@ -201,6 +201,7 @@ struct evp_md_st { /* New structure members */ /* TODO(3.0): Remove above comment when legacy has gone */ + char *name; OSSL_PROVIDER *prov; CRYPTO_REF_COUNT refcnt; CRYPTO_RWLOCK *lock; @@ -251,6 +252,7 @@ struct evp_cipher_st { /* New structure members */ /* TODO(3.0): Remove above comment when legacy has gone */ + char *name; OSSL_PROVIDER *prov; CRYPTO_REF_COUNT refcnt; CRYPTO_RWLOCK *lock; -- cgit v1.2.3