Skip to content
Snippets Groups Projects
Commit 15240e01 authored by Niels Möller's avatar Niels Möller
Browse files

(nettle_mpz_get_str_256): Fixed handling of leading

zeroes.

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