Fix for building sniffer without ECC while Curve25519 is enabled.

This commit is contained in:
David Garske
2022-04-21 16:54:11 -07:00
parent 2fa1e19fe7
commit 6606984101

View File

@ -102,7 +102,7 @@
#ifndef NO_DH
#include <wolfssl/wolfcrypt/dh.h>
#endif
#ifdef HAVE_ECC
#if defined(HAVE_ECC) || defined(HAVE_CURVE25519)
#include <wolfssl/wolfcrypt/ecc.h>
#endif
#ifdef HAVE_CURVE25519