aboutsummaryrefslogtreecommitdiff
path: root/src/util/sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/sha256.c')
-rw-r--r--src/util/sha256.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/sha256.c b/src/util/sha256.c
index 311aac4a8..4c2bb71a8 100644
--- a/src/util/sha256.c
+++ b/src/util/sha256.c
@@ -15,8 +15,8 @@
const char SHA256_version[] = "SHA-256" OPENSSL_VERSION_PTEXT;
/* mem_clr.c */
-unsigned char cleanse_ctr = 0;
-void OPENSSL_cleanse(void *ptr, size_t len)
+unsigned static char cleanse_ctr = 0;
+static void OPENSSL_cleanse(void *ptr, size_t len)
{
unsigned char *p = ptr;
size_t loop = len, ctr = cleanse_ctr;