summaryrefslogtreecommitdiffstats
path: root/apps/list.c
diff options
context:
space:
mode:
authorMatt Caswell <matt@openssl.org>2019-09-24 15:17:15 +0100
committerMatt Caswell <matt@openssl.org>2019-09-25 12:06:21 +0100
commite6879a31ef597f1b9608c7897087203d829d47c2 (patch)
treed0e64b7fc9d2cf996fbc229ca382b2fb604564c4 /apps/list.c
parent5a2a2f66c5e79895400c6e895ce7f8d48db96bb8 (diff)
Make EVP_MD_CTX_[gettable|settable]_params() take an EVP_MD_CTX
EVP_MD_CTX_gettable_params() and EVP_MD_CTX_settable_params() were confusingly named because they did not take an EVP_MD_CTX parameter. In addition we add the functions EVP_MD_gettable_ctx_params() and EVP_MD_settable_ctx_params() which do the same thing but are passed an EVP_MD object instead. Reviewed-by: Richard Levitte <levitte@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9998)
Diffstat (limited to 'apps/list.c')
-rw-r--r--apps/list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/list.c b/apps/list.c
index 2b44cac71b..5348cc68dd 100644
--- a/apps/list.c
+++ b/apps/list.c
@@ -139,9 +139,9 @@ static void list_digests(void)
print_param_types("retrievable algorithm parameters",
EVP_MD_gettable_params(m), 4);
print_param_types("retrievable operation parameters",
- EVP_MD_CTX_gettable_params(m), 4);
+ EVP_MD_gettable_ctx_params(m), 4);
print_param_types("settable operation parameters",
- EVP_MD_CTX_settable_params(m), 4);
+ EVP_MD_settable_ctx_params(m), 4);
}
}
sk_EVP_MD_pop_free(digests, EVP_MD_free);