diff options
-rw-r--r-- | cipher-chachapoly-libcrypto.c | 3 | ||||
-rw-r--r-- | cipher-chachapoly.c | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/cipher-chachapoly-libcrypto.c b/cipher-chachapoly-libcrypto.c index 2c0f80f28..76c24dcba 100644 --- a/cipher-chachapoly-libcrypto.c +++ b/cipher-chachapoly-libcrypto.c | |||
@@ -17,6 +17,9 @@ | |||
17 | /* $OpenBSD: cipher-chachapoly-libcrypto.c,v 1.1 2020/04/03 04:32:21 djm Exp $ */ | 17 | /* $OpenBSD: cipher-chachapoly-libcrypto.c,v 1.1 2020/04/03 04:32:21 djm Exp $ */ |
18 | 18 | ||
19 | #include "includes.h" | 19 | #include "includes.h" |
20 | #ifdef WITH_OPENSSL | ||
21 | #include "openbsd-compat/openssl-compat.h" | ||
22 | #endif | ||
20 | 23 | ||
21 | #if defined(HAVE_EVP_CHACHA20) || !defined(HAVE_BROKEN_CHACHA20) | 24 | #if defined(HAVE_EVP_CHACHA20) || !defined(HAVE_BROKEN_CHACHA20) |
22 | 25 | ||
diff --git a/cipher-chachapoly.c b/cipher-chachapoly.c index 132cdeec9..716f8d426 100644 --- a/cipher-chachapoly.c +++ b/cipher-chachapoly.c | |||
@@ -17,6 +17,9 @@ | |||
17 | /* $OpenBSD: cipher-chachapoly.c,v 1.9 2020/04/03 04:27:03 djm Exp $ */ | 17 | /* $OpenBSD: cipher-chachapoly.c,v 1.9 2020/04/03 04:27:03 djm Exp $ */ |
18 | 18 | ||
19 | #include "includes.h" | 19 | #include "includes.h" |
20 | #ifdef WITH_OPENSSL | ||
21 | #include "openbsd-compat/openssl-compat.h" | ||
22 | #endif | ||
20 | 23 | ||
21 | #if !defined(HAVE_EVP_CHACHA20) || defined(HAVE_BROKEN_CHACHA20) | 24 | #if !defined(HAVE_EVP_CHACHA20) || defined(HAVE_BROKEN_CHACHA20) |
22 | 25 | ||