From 6c3bca154d6d7f953f61e2c4bf065eb94e485ce7 Mon Sep 17 00:00:00 2001 From: tb <> Date: Tue, 25 Apr 2023 18:39:12 +0000 Subject: Move truncated sha-2 and sha3 out of #ifdef wrappers --- src/lib/libcrypto/evp/evp.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/lib') diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index 548522eb12..fa1a98d1a3 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/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 -- cgit v1.2.3-55-g6feb