Mercurial > dropbear
diff libtomcrypt/src/pk/dsa/dsa_generate_pqg.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/pk/dsa/dsa_generate_pqg.c Wed Jun 10 23:01:33 2020 +0800 +++ b/libtomcrypt/src/pk/dsa/dsa_generate_pqg.c Wed Jun 10 23:16:13 2020 +0800 @@ -72,8 +72,8 @@ */ seedbytes = group_size; - L = modulus_size * 8; - N = group_size * 8; + L = (unsigned long)modulus_size * 8; + N = (unsigned long)group_size * 8; /* XXX-TODO no Lucas test */ #ifdef LTC_MPI_HAS_LUCAS_TEST