summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortb <>2023-04-25 18:39:12 +0000
committertb <>2023-04-25 18:39:12 +0000
commit6c3bca154d6d7f953f61e2c4bf065eb94e485ce7 (patch)
treeb413129c8112ce4f76733a209aae3cfcde536beb
parent34d49a12531fba54e6298f26e3be7662d700bff5 (diff)
downloadopenbsd-6c3bca154d6d7f953f61e2c4bf065eb94e485ce7.tar.gz
openbsd-6c3bca154d6d7f953f61e2c4bf065eb94e485ce7.tar.bz2
openbsd-6c3bca154d6d7f953f61e2c4bf065eb94e485ce7.zip
Move truncated sha-2 and sha3 out of #ifdef wrappers
-rw-r--r--src/lib/libcrypto/evp/evp.h6
1 files changed, 1 insertions, 5 deletions
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 @@
1/* $OpenBSD: evp.h,v 1.117 2023/04/25 16:50:33 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.118 2023/04/25 18:39:12 tb 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 *
@@ -620,19 +620,15 @@ const EVP_MD *EVP_sha256(void);
620#ifndef OPENSSL_NO_SHA512 620#ifndef OPENSSL_NO_SHA512
621const EVP_MD *EVP_sha384(void); 621const EVP_MD *EVP_sha384(void);
622const EVP_MD *EVP_sha512(void); 622const EVP_MD *EVP_sha512(void);
623#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
624const EVP_MD *EVP_sha512_224(void); 623const EVP_MD *EVP_sha512_224(void);
625const EVP_MD *EVP_sha512_256(void); 624const EVP_MD *EVP_sha512_256(void);
626#endif 625#endif
627#endif
628#ifndef OPENSSL_NO_SHA3 626#ifndef OPENSSL_NO_SHA3
629#if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API)
630const EVP_MD *EVP_sha3_224(void); 627const EVP_MD *EVP_sha3_224(void);
631const EVP_MD *EVP_sha3_256(void); 628const EVP_MD *EVP_sha3_256(void);
632const EVP_MD *EVP_sha3_384(void); 629const EVP_MD *EVP_sha3_384(void);
633const EVP_MD *EVP_sha3_512(void); 630const EVP_MD *EVP_sha3_512(void);
634#endif 631#endif
635#endif
636#ifndef OPENSSL_NO_SM3 632#ifndef OPENSSL_NO_SM3
637const EVP_MD *EVP_sm3(void); 633const EVP_MD *EVP_sm3(void);
638#endif 634#endif