diff options
author | Darren Tucker <dtucker@dtucker.net> | 2020-05-01 01:21:52 +0200 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2020-05-01 01:21:52 +0200 |
commit | d27cba58c972d101a5de976777e518f34ac779cb (patch) | |
tree | 670b3c99133530d881d2f57ecc78e3518a300c87 /cipher-chachapoly-libcrypto.c | |
parent | Error out if given RDomain if unsupported. (diff) | |
download | openssh-d27cba58c972d101a5de976777e518f34ac779cb.tar.xz openssh-d27cba58c972d101a5de976777e518f34ac779cb.zip |
Fix conditional for openssl-based chacha20.
Fixes warnings or link errors when building against older OpenSSLs.
ok djm
Diffstat (limited to 'cipher-chachapoly-libcrypto.c')
-rw-r--r-- | cipher-chachapoly-libcrypto.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher-chachapoly-libcrypto.c b/cipher-chachapoly-libcrypto.c index 76c24dcba..719f9c843 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 */ |