summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp_digest.c
diff options
context:
space:
mode:
authorbeck <>2024-04-10 15:00:38 +0000
committerbeck <>2024-04-10 15:00:38 +0000
commit20ec75270d82cdbe18bc78b00516a72ae16b122e (patch)
tree0c45d2cbdada96b065c8962e4b4ab01b5a7f05bc /src/lib/libcrypto/evp/evp_digest.c
parente350c0280d84fc40618cbe2657d9eb0cf21901a5 (diff)
downloadopenbsd-20ec75270d82cdbe18bc78b00516a72ae16b122e.tar.gz
openbsd-20ec75270d82cdbe18bc78b00516a72ae16b122e.tar.bz2
openbsd-20ec75270d82cdbe18bc78b00516a72ae16b122e.zip
Hide deprecated functions in evp.h
use LCRYPTO_UNUSED and remove the LIBRESSL_INTERNAL guard around them. ok tb@
Diffstat (limited to 'src/lib/libcrypto/evp/evp_digest.c')
-rw-r--r--src/lib/libcrypto/evp/evp_digest.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_digest.c b/src/lib/libcrypto/evp/evp_digest.c
index 3eb6c258bf..0a97d25c7d 100644
--- a/src/lib/libcrypto/evp/evp_digest.c
+++ b/src/lib/libcrypto/evp/evp_digest.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_digest.c,v 1.13 2024/04/09 13:52:41 beck Exp $ */ 1/* $OpenBSD: evp_digest.c,v 1.14 2024/04/10 15:00:38 beck 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 *
@@ -267,6 +267,7 @@ EVP_MD_CTX_init(EVP_MD_CTX *ctx)
267{ 267{
268 return EVP_MD_CTX_cleanup(ctx); 268 return EVP_MD_CTX_cleanup(ctx);
269} 269}
270LCRYPTO_ALIAS(EVP_MD_CTX_init);
270 271
271int 272int
272EVP_MD_CTX_reset(EVP_MD_CTX *ctx) 273EVP_MD_CTX_reset(EVP_MD_CTX *ctx)