From 3350fd747963c8f797d5520984ac35701561e7f3 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Sat, 30 Jun 2018 13:54:28 +0200 Subject: [PATCH] chachapoly: Make global variables static Signed-off-by: Andreas Schneider --- src/chachapoly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/chachapoly.c b/src/chachapoly.c index 12600e85..ab4378e6 100644 --- a/src/chachapoly.c +++ b/src/chachapoly.c @@ -43,8 +43,8 @@ struct ssh_packet_header { }; #pragma pack(pop) -const uint8_t zero_block_counter[8] = {0, 0, 0, 0, 0, 0, 0, 0}; -const uint8_t payload_block_counter[8] = {1, 0, 0, 0, 0, 0, 0, 0}; +static const uint8_t zero_block_counter[8] = {0, 0, 0, 0, 0, 0, 0, 0}; +static const uint8_t payload_block_counter[8] = {1, 0, 0, 0, 0, 0, 0, 0}; static int chacha20_set_encrypt_key(struct ssh_cipher_struct *cipher, void *key,