Mercurial > dropbear
diff libtomcrypt/src/pk/dsa/dsa_export.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_export.c Wed Jun 10 23:01:33 2020 +0800 +++ b/libtomcrypt/src/pk/dsa/dsa_export.c Wed Jun 10 23:16:13 2020 +0800 @@ -69,7 +69,7 @@ } } else { if (std) { - unsigned long tmplen = (mp_count_bits(key->y) / 8) + 8; + unsigned long tmplen = (unsigned long)(mp_count_bits(key->y) / 8) + 8; unsigned char* tmp = XMALLOC(tmplen); ltc_asn1_list int_list[3];