mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-11 05:00:00 -04:00
parent
f77ffa7953
commit
29a93d2889
1 changed files with 2 additions and 0 deletions
|
|
@ -258,6 +258,8 @@ static int
|
|||
BN_bn2bin_fixed(const BIGNUM *bn, unsigned char *buf, int size) {
|
||||
int bytes = size - BN_num_bytes(bn);
|
||||
|
||||
INSIST(bytes >= 0);
|
||||
|
||||
while (bytes-- > 0) {
|
||||
*buf++ = 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue