From 0716b7701e550ec61c4e63bb42f4b3f5159972c0 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sat, 2 Apr 2016 12:17:47 +0200 Subject: [PATCH] Initialize constant --- .../crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c b/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c index 555b12b3..53510f5a 100644 --- a/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c +++ b/src/libsodium/crypto_aead/chacha20poly1305/sodium/aead_chacha20poly1305.c @@ -12,7 +12,7 @@ #include "../../sodium/common.h" -static const unsigned char _pad0[16]; +static const unsigned char _pad0[16] = { 0 }; int crypto_aead_chacha20poly1305_encrypt_detached(unsigned char *c,