summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo Buehler <tb@cvs.openbsd.org>2023-04-25 18:39:13 +0000
committerTheo Buehler <tb@cvs.openbsd.org>2023-04-25 18:39:13 +0000
commitc8774e55b65b2ba46e7b004b7935cd60d2b49dcc (patch)
tree493b728e8964334f1ed3f55981e76865390ffa90 /lib
parent6c11109442a7356db5b4a6902b54c0490ea9b27c (diff)
Move truncated sha-2 and sha3 out of #ifdef wrappers
Diffstat (limited to 'lib')
-rw-r--r--lib/libcrypto/evp/evp.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/libcrypto/evp/evp.h b/lib/libcrypto/evp/evp.h
index 548522eb12f..fa1a98d1a3d 100644
--- a/lib/libcrypto/evp/evp.h
+++ b/lib/libcrypto/evp/evp.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: evp.h,v 1.117 2023/04/25 16:50:33 tb Exp $ */
+/* $OpenBSD: evp.h,v 1.118 2023/04/25 18:39:12 tb Exp $ */
/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
* All rights reserved.
*
@@ -620,19 +620,15 @@ const EVP_MD *EVP_sha256(void);
#ifndef OPENSSL_NO_SHA512
const EVP_MD *EVP_sha384(void);
const EVP_MD *EVP_sha512(void);
-#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
const EVP_MD *EVP_sha512_224(void);
const EVP_MD *EVP_sha512_256(void);
#endif
-#endif
#ifndef OPENSSL_NO_SHA3
-#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
const EVP_MD *EVP_sha3_224(void);
const EVP_MD *EVP_sha3_256(void);
const EVP_MD *EVP_sha3_384(void);
const EVP_MD *EVP_sha3_512(void);
#endif
-#endif
#ifndef OPENSSL_NO_SM3
const EVP_MD *EVP_sm3(void);
#endif