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/chacha | |
| 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/chacha')
| -rw-r--r-- | src/lib/libcrypto/chacha/chacha.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/chacha/chacha.h b/src/lib/libcrypto/chacha/chacha.h index e2345b2199..7d30c518a4 100644 --- a/src/lib/libcrypto/chacha/chacha.h +++ b/src/lib/libcrypto/chacha/chacha.h | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: chacha.h,v 1.8 2019/01/22 00:59:21 dlg Exp $ */ | 1 | /* $OpenBSD: chacha.h,v 1.9 2025/01/25 17:59:44 tb Exp $ */ |
| 2 | /* | 2 | /* |
| 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> | 3 | * Copyright (c) 2014 Joel Sing <jsing@openbsd.org> |
| 4 | * | 4 | * |
| @@ -20,10 +20,6 @@ | |||
| 20 | 20 | ||
| 21 | #include <openssl/opensslconf.h> | 21 | #include <openssl/opensslconf.h> |
| 22 | 22 | ||
| 23 | #if defined(OPENSSL_NO_CHACHA) | ||
| 24 | #error ChaCha is disabled. | ||
| 25 | #endif | ||
| 26 | |||
| 27 | #include <stddef.h> | 23 | #include <stddef.h> |
| 28 | #include <stdint.h> | 24 | #include <stdint.h> |
| 29 | 25 | ||
