From: tb Date: Tue, 25 Apr 2023 18:39:12 +0000 (+0000) Subject: Move truncated sha-2 and sha3 out of #ifdef wrappers X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=90f7323e8f115acf85291b5ef1abdd78fc5f878c;p=openbsd Move truncated sha-2 and sha3 out of #ifdef wrappers --- 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