summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/hmac
diff options
context:
space:
mode:
authortb <>2025-01-25 17:59:44 +0000
committertb <>2025-01-25 17:59:44 +0000
commit5482f7f31863bd209e2f594c751ead79f03aa62e (patch)
tree7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/hmac
parent538936a6c977803d4e15c8449c956ab3c5d69d86 (diff)
downloadopenbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.gz
openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.tar.bz2
openbsd-5482f7f31863bd209e2f594c751ead79f03aa62e.zip
Remove #error if OPENSSL_NO_FOO is defined
discussed with jsing
Diffstat (limited to 'src/lib/libcrypto/hmac')
-rw-r--r--src/lib/libcrypto/hmac/hmac.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/hmac/hmac.h b/src/lib/libcrypto/hmac/hmac.h
index 6f29972aad..2216fd9258 100644
--- a/src/lib/libcrypto/hmac/hmac.h
+++ b/src/lib/libcrypto/hmac/hmac.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: hmac.h,v 1.20 2024/08/31 10:42:21 tb Exp $ */ 1/* $OpenBSD: hmac.h,v 1.21 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 *
@@ -64,10 +64,6 @@
64#define __bounded__(x, y, z) 64#define __bounded__(x, y, z)
65#endif 65#endif
66 66
67#ifdef OPENSSL_NO_HMAC
68#error HMAC is disabled.
69#endif
70
71#include <openssl/evp.h> 67#include <openssl/evp.h>
72 68
73#define HMAC_MAX_MD_CBLOCK 144 /* largest known is SHA3-224 */ 69#define HMAC_MAX_MD_CBLOCK 144 /* largest known is SHA3-224 */