summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp
diff options
context:
space:
mode:
authortb <>2021-11-01 08:14:36 +0000
committertb <>2021-11-01 08:14:36 +0000
commit9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949 (patch)
tree09eaa986df5bec5fc37f0dad91370c7d06c3f62e /src/lib/libcrypto/evp
parent24b324d6b70a17a56bae163dd5417bf00331ec48 (diff)
downloadopenbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.tar.gz
openbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.tar.bz2
openbsd-9e4ccc5228dcbfa0dfefbcb77f4fbc4409e63949.zip
Unifdef LIBRESSL_NEW_API. Now that the library is bumped, this is
no longer needed. ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp')
-rw-r--r--src/lib/libcrypto/evp/evp.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index 4e32a794b4..3af94350f7 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.84 2021/10/24 13:51:07 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.85 2021/11/01 08:14:36 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,9 +486,7 @@ 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); 489void *EVP_MD_CTX_md_data(const EVP_MD_CTX *ctx);
491#endif
492#define EVP_MD_CTX_size(e) EVP_MD_size(EVP_MD_CTX_md(e)) 490#define EVP_MD_CTX_size(e) EVP_MD_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_block_size(e) EVP_MD_block_size(EVP_MD_CTX_md(e))
494#define EVP_MD_CTX_type(e) EVP_MD_type(EVP_MD_CTX_md(e)) 492#define EVP_MD_CTX_type(e) EVP_MD_type(EVP_MD_CTX_md(e))