summaryrefslogtreecommitdiff
path: root/libtomcrypt/src/math/rand_bn.c
diff options
context:
space:
mode:
Diffstat (limited to 'libtomcrypt/src/math/rand_bn.c')
-rw-r--r--libtomcrypt/src/math/rand_bn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/src/math/rand_bn.c b/libtomcrypt/src/math/rand_bn.c
index a42ba64..aa6539c 100644
--- a/libtomcrypt/src/math/rand_bn.c
+++ b/libtomcrypt/src/math/rand_bn.c
@@ -8,7 +8,7 @@
*/
#include "tomcrypt.h"
-#ifdef LTC_MDSA
+#if defined(LTC_MDSA) || defined(LTC_MECC)
/**
Generate a random number N with given bitlength (note: MSB can be 0)
*/