Mercurial > dropbear
comparison libtommath/bn_mp_unsigned_bin_size.c @ 1478:3a933956437e coverity
update coverity
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 09 Feb 2018 23:49:22 +0800 |
parents | 8bba51a55704 |
children | f52919ffd3b1 |
comparison
equal
deleted
inserted
replaced
1439:8d24733026c5 | 1478:3a933956437e |
---|---|
21 int size = mp_count_bits (a); | 21 int size = mp_count_bits (a); |
22 return (size / 8) + (((size & 7) != 0) ? 1 : 0); | 22 return (size / 8) + (((size & 7) != 0) ? 1 : 0); |
23 } | 23 } |
24 #endif | 24 #endif |
25 | 25 |
26 /* $Source$ */ | 26 /* ref: $Format:%D$ */ |
27 /* $Revision$ */ | 27 /* git commit: $Format:%H$ */ |
28 /* $Date$ */ | 28 /* commit time: $Format:%ai$ */ |