Commit 15240e01 authored by Niels Möller's avatar Niels Möller

(nettle_mpz_get_str_256): Fixed handling of leading

zeroes.

Rev: src/nettle/bignum.c:1.2
parent 276c7716
......@@ -65,7 +65,7 @@ nettle_mpz_get_str_256(unsigned length, uint8_t *s, mpz_t x)
}
if (length)
memset(dst, 0, length);
memset(s, 0, length);
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment