diff options
| author | tb <> | 2025-01-25 17:59:44 +0000 |
|---|---|---|
| committer | tb <> | 2025-01-25 17:59:44 +0000 |
| commit | 5d52abc236226c5a47c36b07e2256e77141e373a (patch) | |
| tree | 7454d675702b66e09c692528e45834a172db95ff /src/lib/libcrypto/hmac | |
| parent | 60dc4676db34ffc570b69d7d4a833f2c05d9da5a (diff) | |
| download | openbsd-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/hmac')
| -rw-r--r-- | src/lib/libcrypto/hmac/hmac.h | 6 |
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 */ |
