diff options
author | beck <> | 2024-04-10 15:00:38 +0000 |
---|---|---|
committer | beck <> | 2024-04-10 15:00:38 +0000 |
commit | 8b041422435150e802f8d2bda683ae248b607c20 (patch) | |
tree | 0c45d2cbdada96b065c8962e4b4ab01b5a7f05bc /src/lib/libcrypto/evp/evp_digest.c | |
parent | 7a88601975769471c321595f58d58baf8601e37f (diff) | |
download | openbsd-8b041422435150e802f8d2bda683ae248b607c20.tar.gz openbsd-8b041422435150e802f8d2bda683ae248b607c20.tar.bz2 openbsd-8b041422435150e802f8d2bda683ae248b607c20.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.c | 3 |
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 | } |
270 | LCRYPTO_ALIAS(EVP_MD_CTX_init); | ||
270 | 271 | ||
271 | int | 272 | int |
272 | EVP_MD_CTX_reset(EVP_MD_CTX *ctx) | 273 | EVP_MD_CTX_reset(EVP_MD_CTX *ctx) |