Hoist EVP_MD_CTX accessors to after EVP_MD_CTX_ctrl
authortb <tb@openbsd.org>
Fri, 29 Dec 2023 07:09:44 +0000 (07:09 +0000)
committertb <tb@openbsd.org>
Fri, 29 Dec 2023 07:09:44 +0000 (07:09 +0000)
commitf42ed8eaeed46960c01db8e68499fbe6f1d150c1
tree7387229f94471282d3cb644cc4b5e2d3ccbc9e1c
parent354be4ad0776835ab3178ad39b67c7a6230bd781
Hoist EVP_MD_CTX accessors to after EVP_MD_CTX_ctrl

This way the file has EVP_Digest*, then EVP_MD_CTX new/free/clean,
then ctrl then the EVP_MD_CTX accessors, then the EVP_MD accessors
and finally the EVP_MD_meth stuff and the order of things starts
making a wee bit of sense.
lib/libcrypto/evp/evp_digest.c