Merge pull request #321 from dgarske/FixCryptBenchEdCurve25519

Fixes issue with building crypt benchmark with only ED/Curve25519 ena…
This commit is contained in:
toddouska
2016-02-24 11:19:30 -08:00

View File

@@ -199,7 +199,8 @@ static int OpenNitroxDevice(int dma_mode,int dev_id)
#endif
#if !defined(NO_RSA) || !defined(NO_DH) \
|| defined(WOLFSSL_KEYGEN) || defined(HAVE_ECC)
|| defined(WOLFSSL_KEYGEN) || defined(HAVE_ECC) \
|| defined(HAVE_CURVE25519) || defined(HAVE_ED25519)
#define HAVE_LOCAL_RNG
static WC_RNG rng;
#endif