aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/bigcrypt.c
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-01-04 18:24:03 +0100
committerDmitry V. Levin <ldv@strace.io>2024-01-15 20:01:23 +0000
commit05d50c9f29ef1a1c897feb604c0595142840a93e (patch)
tree90ca704479fba12d992f718bc5d68c841e5b5905 /modules/pam_unix/bigcrypt.c
parent5b059b8fcbcb4dab6eb3eb48303879adcface90a (diff)
downloadpam-05d50c9f29ef1a1c897feb604c0595142840a93e.tar.gz
pam-05d50c9f29ef1a1c897feb604c0595142840a93e.tar.bz2
pam-05d50c9f29ef1a1c897feb604c0595142840a93e.zip
pam_unix: use more appropriate types
Diffstat (limited to 'modules/pam_unix/bigcrypt.c')
-rw-r--r--modules/pam_unix/bigcrypt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_unix/bigcrypt.c b/modules/pam_unix/bigcrypt.c
index c1028668..f7c35a47 100644
--- a/modules/pam_unix/bigcrypt.c
+++ b/modules/pam_unix/bigcrypt.c
@@ -55,7 +55,7 @@ char *bigcrypt(const char *key, const char *salt)
#ifdef HAVE_CRYPT_R
struct crypt_data *cdata;
#endif
- unsigned long int keylen, n_seg, j;
+ size_t keylen, n_seg, j;
char *cipher_ptr, *plaintext_ptr, *tmp_ptr, *salt_ptr;
char keybuf[KEYBUF_SIZE + 1] = {};