Make EVP_MD_CTX_[gettable|settable]_params() take an EVP_MD_CTX
authorMatt Caswell <matt@openssl.org>
Tue, 24 Sep 2019 14:17:15 +0000 (15:17 +0100)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Sep 2019 11:06:21 +0000 (12:06 +0100)
commite6879a31ef597f1b9608c7897087203d829d47c2
treed0e64b7fc9d2cf996fbc229ca382b2fb604564c4
parent5a2a2f66c5e79895400c6e895ce7f8d48db96bb8
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)
apps/list.c
apps/provider.c
crypto/evp/digest.c
doc/man3/EVP_DigestInit.pod
include/openssl/evp.h
util/libcrypto.num