summaryrefslogtreecommitdiff
path: root/src/crypt/crypt_sha256.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypt/crypt_sha256.c')
-rw-r--r--src/crypt/crypt_sha256.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypt/crypt_sha256.c b/src/crypt/crypt_sha256.c
index e01a208b..d5f0b786 100644
--- a/src/crypt/crypt_sha256.c
+++ b/src/crypt/crypt_sha256.c
@@ -153,7 +153,7 @@ static void sha256_update(struct sha256 *s, const void *m, unsigned long len)
memcpy(s->buf, p, len);
}
-static unsigned char b64[] =
+static const unsigned char b64[] =
"./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
static char *to64(char *s, unsigned int u, int n)