From e3ffd7d53918105731269649a4f6c40c4c35529a Mon Sep 17 00:00:00 2001 From: Jacob Barthelmeh Date: Thu, 20 Jul 2017 16:38:53 -0600 Subject: [PATCH] macro guard to check if ECC is enabled --- src/ssl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ssl.c b/src/ssl.c index cddc25797..de055ce44 100755 --- a/src/ssl.c +++ b/src/ssl.c @@ -22697,7 +22697,9 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl) #endif case ECDSAk: ctx->haveECC = 1; + #ifdef HAVE_ECC ctx->pkCurveOID = x->pkCurveOID; + #endif break; }