From 772a9e68cf11753b7af76aeda8b190e79bf6d3e8 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 1 Jun 2018 20:59:04 +0200 Subject: [PATCH] make _sha256 a static function --- src/stream/salsa20/xsalsa20_test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream/salsa20/xsalsa20_test.c b/src/stream/salsa20/xsalsa20_test.c index 683ab0d7..a7040250 100644 --- a/src/stream/salsa20/xsalsa20_test.c +++ b/src/stream/salsa20/xsalsa20_test.c @@ -19,7 +19,7 @@ #ifdef LTC_XSALSA20 #ifdef LTC_SHA256 -int _sha256(unsigned char *hash, const unsigned char *data, const int datalen) { +static int _sha256(unsigned char *hash, const unsigned char *data, const int datalen) { hash_state md; sha256_init(&md); sha256_process(&md, data, datalen);