forked from wolfSSL/wolfssl
Fixes issue with building crypt benchmark with only ED/Curve25519 enabled with static rng missing.
This commit is contained in:
@@ -199,7 +199,8 @@ static int OpenNitroxDevice(int dma_mode,int dev_id)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if !defined(NO_RSA) || !defined(NO_DH) \
|
#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
|
#define HAVE_LOCAL_RNG
|
||||||
static WC_RNG rng;
|
static WC_RNG rng;
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user