summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/evp_lib.c')
-rw-r--r--src/lib/libcrypto/evp/evp_lib.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_lib.c b/src/lib/libcrypto/evp/evp_lib.c
index 90107739e7..83b81bd429 100644
--- a/src/lib/libcrypto/evp/evp_lib.c
+++ b/src/lib/libcrypto/evp/evp_lib.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_lib.c,v 1.17 2018/09/12 06:35:38 djm Exp $ */ 1/* $OpenBSD: evp_lib.c,v 1.18 2021/10/24 13:51:07 tb Exp $ */
2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) 2/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
@@ -353,6 +353,12 @@ EVP_MD_CTX_md(const EVP_MD_CTX *ctx)
353 return ctx->digest; 353 return ctx->digest;
354} 354}
355 355
356void *
357EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx)
358{
359 return ctx->md_data;
360}
361
356void 362void
357EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags) 363EVP_MD_CTX_set_flags(EVP_MD_CTX *ctx, int flags)
358{ 364{