diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2024-01-14 16:53:33 +0100 |
---|---|---|
committer | Dmitry V. Levin <ldv@strace.io> | 2024-01-15 20:01:23 +0000 |
commit | bb9edf1bdd543bddc9cb44df88d70e6b8d8d826b (patch) | |
tree | a2407cdbed0dbfd6d635e5c9a6ae4646360a50f4 /modules/pam_unix/md5_crypt.c | |
parent | 97325c0ca92d0d44ee77681e802b383099c91e0d (diff) | |
download | pam-bb9edf1bdd543bddc9cb44df88d70e6b8d8d826b.tar.gz pam-bb9edf1bdd543bddc9cb44df88d70e6b8d8d826b.tar.bz2 pam-bb9edf1bdd543bddc9cb44df88d70e6b8d8d826b.zip |
pam_unix: declare read-only data array const
Diffstat (limited to 'modules/pam_unix/md5_crypt.c')
-rw-r--r-- | modules/pam_unix/md5_crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/md5_crypt.c b/modules/pam_unix/md5_crypt.c index a5720999..9a6bd4f9 100644 --- a/modules/pam_unix/md5_crypt.c +++ b/modules/pam_unix/md5_crypt.c @@ -18,7 +18,7 @@ #include "md5.h" #include "pam_inline.h" -static unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ +static const unsigned char itoa64[] = /* 0 ... 63 => ascii - 64 */ "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz"; static void to64(char *s, unsigned long v, int n) |