diff libtomcrypt/src/math/rand_bn.c @ 1711:e9dba7abd939

Merge libtomcrypt v1.18.2
author Matt Johnston <matt@ucc.asn.au>
date Wed, 10 Jun 2020 23:16:13 +0800
parents 6dba84798cd5
children
line wrap: on
line diff
--- a/libtomcrypt/src/math/rand_bn.c	Wed Jun 10 23:01:33 2020 +0800
+++ b/libtomcrypt/src/math/rand_bn.c	Wed Jun 10 23:16:13 2020 +0800
@@ -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)
 */