diff options
Diffstat (limited to 'src/util/bits.c')
| -rw-r--r-- | src/util/bits.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/bits.c b/src/util/bits.c index 1573308..55d5bf3 100644 --- a/src/util/bits.c +++ b/src/util/bits.c @@ -404,7 +404,7 @@ bits_t *bits_shorten(const bits_t *bits, long amount) { } void bits_sha1(const bits_t *bits, unsigned char hashout[20]) { - SHA_CTX ctx = {}; + SHA_CTX ctx = {0}; SHA1_Init(&ctx); SHA1_Update(&ctx, bits->bits, (int)BYTE_LEN(bits->bitlen)); SHA1_Final(hashout, &ctx); |
