macro guard to check if ECC is enabled

This commit is contained in:
Jacob Barthelmeh
2017-07-20 16:38:53 -06:00
parent 81f09e575e
commit e3ffd7d539

View File

@@ -22697,7 +22697,9 @@ void* wolfSSL_GetRsaDecCtx(WOLFSSL* ssl)
#endif
case ECDSAk:
ctx->haveECC = 1;
#ifdef HAVE_ECC
ctx->pkCurveOID = x->pkCurveOID;
#endif
break;
}