summaryrefslogtreecommitdiffstats
path: root/providers/implementations/digests
diff options
context:
space:
mode:
authorPauli <paul.dale@oracle.com>2020-11-16 11:52:39 +1000
committerPauli <paul.dale@oracle.com>2020-11-19 07:38:53 +1000
commit627b73cc72d0c42a01c464b8b567ea0f7d907e05 (patch)
treed3bb5ce6b30706259e193ab92bdb4703f71b46cb /providers/implementations/digests
parent3800cc6f4d285699210da496a42434bd2b42e065 (diff)
Rename md5_sha1_* ossl_md5_sha1_*
md5_sha1_init(), md5_sha1_update(), md5_sha1_final() and md5_sha1_ctrl(). Reviewed-by: Tim Hudson <tjh@openssl.org> (Merged from https://github.com/openssl/openssl/pull/13417)
Diffstat (limited to 'providers/implementations/digests')
-rw-r--r--providers/implementations/digests/md5_sha1_prov.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/providers/implementations/digests/md5_sha1_prov.c b/providers/implementations/digests/md5_sha1_prov.c
index 7c127d74a6..d96b72676b 100644
--- a/providers/implementations/digests/md5_sha1_prov.c
+++ b/providers/implementations/digests/md5_sha1_prov.c
@@ -44,8 +44,8 @@ static int md5_sha1_set_ctx_params(void *vctx, const OSSL_PARAM params[])
if (ctx != NULL && params != NULL) {
p = OSSL_PARAM_locate_const(params, OSSL_DIGEST_PARAM_SSL3_MS);
if (p != NULL && p->data_type == OSSL_PARAM_OCTET_STRING)
- return md5_sha1_ctrl(ctx, EVP_CTRL_SSL3_MASTER_SECRET, p->data_size,
- p->data);
+ return ossl_md5_sha1_ctrl(ctx, EVP_CTRL_SSL3_MASTER_SECRET,
+ p->data_size, p->data);
}
return 0;
}
@@ -53,5 +53,5 @@ static int md5_sha1_set_ctx_params(void *vctx, const OSSL_PARAM params[])
/* ossl_md5_sha1_functions */
IMPLEMENT_digest_functions_with_settable_ctx(
md5_sha1, MD5_SHA1_CTX, MD5_SHA1_CBLOCK, MD5_SHA1_DIGEST_LENGTH, 0,
- md5_sha1_init, md5_sha1_update, md5_sha1_final,
+ ossl_md5_sha1_init, ossl_md5_sha1_update, ossl_md5_sha1_final,
md5_sha1_settable_ctx_params, md5_sha1_set_ctx_params)