From 6606984101bc4b1413618f76b1c0cbf2aec1dfd5 Mon Sep 17 00:00:00 2001 From: David Garske Date: Thu, 21 Apr 2022 16:54:11 -0700 Subject: [PATCH] Fix for building sniffer without ECC while Curve25519 is enabled. --- src/sniffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sniffer.c b/src/sniffer.c index d9fa0938a..2db0bef5c 100644 --- a/src/sniffer.c +++ b/src/sniffer.c @@ -102,7 +102,7 @@ #ifndef NO_DH #include #endif -#ifdef HAVE_ECC +#if defined(HAVE_ECC) || defined(HAVE_CURVE25519) #include #endif #ifdef HAVE_CURVE25519