summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/sha
diff options
context:
space:
mode:
authortb <>2025-01-25 17:59:44 +0000
committertb <>2025-01-25 17:59:44 +0000
commit5d52abc236226c5a47c36b07e2256e77141e373a (patch)
tree7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/sha
parent60dc4676db34ffc570b69d7d4a833f2c05d9da5a (diff)
downloadopenbsd-5d52abc236226c5a47c36b07e2256e77141e373a.tar.gz
openbsd-5d52abc236226c5a47c36b07e2256e77141e373a.tar.bz2
openbsd-5d52abc236226c5a47c36b07e2256e77141e373a.zip
Remove #error if OPENSSL_NO_FOO is defined
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/sha')
-rw-r--r--src/lib/libcrypto/sha/sha.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/sha/sha.h b/src/lib/libcrypto/sha/sha.h
index cef2d7f497..ec97f48b2e 100644
--- a/src/lib/libcrypto/sha/sha.h
+++ b/src/lib/libcrypto/sha/sha.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: sha.h,v 1.25 2024/06/01 08:11:44 tb Exp $ */ 1/* $OpenBSD: sha.h,v 1.26 2025/01/25 17:59:44 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 *
@@ -70,10 +70,6 @@
70extern "C" { 70extern "C" {
71#endif 71#endif
72 72
73#if defined(OPENSSL_NO_SHA) || defined(OPENSSL_NO_SHA1)
74#error SHA is disabled.
75#endif
76
77/* 73/*
78 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 74 * !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
79 * ! SHA_LONG has to be at least 32 bits wide. ! 75 * ! SHA_LONG has to be at least 32 bits wide. !