summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/evp/evp.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 06c529ef3f..4e32a794b4 100644
--- a/src/lib/libcrypto/evp/evp.h
+++ b/src/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp.h,v 1.83 2021/05/10 17:00:32 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.84 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 *
@@ -486,6 +486,9 @@ int EVP_MD_block_size(const EVP_MD *md);
486unsigned long EVP_MD_flags(const EVP_MD *md); 486unsigned long EVP_MD_flags(const EVP_MD *md);
487 487
488const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx); 488const EVP_MD *EVP_MD_CTX_md(const EVP_MD_CTX *ctx);
489#if defined(LIBRESSL_NEW_API)
490void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
491#endif
489#define EVP_MD_CTX_size(e) EVP_MD_size(EVP_MD_CTX_md(e)) 492#define EVP_MD_CTX_size(e) EVP_MD_size(EVP_MD_CTX_md(e))
490#define EVP_MD_CTX_block_size(e) EVP_MD_block_size(EVP_MD_CTX_md(e)) 493#define EVP_MD_CTX_block_size(e) EVP_MD_block_size(EVP_MD_CTX_md(e))
491#define EVP_MD_CTX_type(e) EVP_MD_type(EVP_MD_CTX_md(e)) 494#define EVP_MD_CTX_type(e) EVP_MD_type(EVP_MD_CTX_md(e))