diff options
author | tb <> | 2023-04-25 18:39:12 +0000 |
---|---|---|
committer | tb <> | 2023-04-25 18:39:12 +0000 |
commit | 6c3bca154d6d7f953f61e2c4bf065eb94e485ce7 (patch) | |
tree | b413129c8112ce4f76733a209aae3cfcde536beb | |
parent | 34d49a12531fba54e6298f26e3be7662d700bff5 (diff) | |
download | openbsd-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.h | 6 |
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 |
621 | const EVP_MD *EVP_sha384(void); | 621 | const EVP_MD *EVP_sha384(void); |
622 | const EVP_MD *EVP_sha512(void); | 622 | const EVP_MD *EVP_sha512(void); |
623 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
624 | const EVP_MD *EVP_sha512_224(void); | 623 | const EVP_MD *EVP_sha512_224(void); |
625 | const EVP_MD *EVP_sha512_256(void); | 624 | const 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) | ||
630 | const EVP_MD *EVP_sha3_224(void); | 627 | const EVP_MD *EVP_sha3_224(void); |
631 | const EVP_MD *EVP_sha3_256(void); | 628 | const EVP_MD *EVP_sha3_256(void); |
632 | const EVP_MD *EVP_sha3_384(void); | 629 | const EVP_MD *EVP_sha3_384(void); |
633 | const EVP_MD *EVP_sha3_512(void); | 630 | const EVP_MD *EVP_sha3_512(void); |
634 | #endif | 631 | #endif |
635 | #endif | ||
636 | #ifndef OPENSSL_NO_SM3 | 632 | #ifndef OPENSSL_NO_SM3 |
637 | const EVP_MD *EVP_sm3(void); | 633 | const EVP_MD *EVP_sm3(void); |
638 | #endif | 634 | #endif |