From 0236a293e48da8f3b82dc326e1b5617ebbeab4c1 Mon Sep 17 00:00:00 2001 From: Sean Parkinson Date: Wed, 18 Jul 2018 10:12:57 +1000 Subject: [PATCH] Fix define protection to be ED25519 not ECC --- src/internal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal.c b/src/internal.c index cc75c8d1e..b5cd944ab 100644 --- a/src/internal.c +++ b/src/internal.c @@ -16183,7 +16183,7 @@ void PickHashSigAlgo(WOLFSSL* ssl, const byte* hashSigAlgo, byte hashAlgo = 0, sigAlgo = 0; DecodeSigAlg(&hashSigAlgo[i], &hashAlgo, &sigAlgo); - #ifdef HAVE_ECC + #ifdef HAVE_ED25519 if (ssl->pkCurveOID == ECC_ED25519_OID && sigAlgo != ed25519_sa_algo) continue;