summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cipher-chachapoly-libcrypto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher-chachapoly-libcrypto.c b/cipher-chachapoly-libcrypto.c
index 76c24dcb..719f9c84 100644
--- a/cipher-chachapoly-libcrypto.c
+++ b/cipher-chachapoly-libcrypto.c
@@ -21,7 +21,7 @@
#include "openbsd-compat/openssl-compat.h"
#endif
-#if defined(HAVE_EVP_CHACHA20) || !defined(HAVE_BROKEN_CHACHA20)
+#if defined(HAVE_EVP_CHACHA20) && !defined(HAVE_BROKEN_CHACHA20)
#include <sys/types.h>
#include <stdarg.h> /* needed for log.h */