aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/fics_addplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'FICS/fics_addplayer.c')
-rw-r--r--FICS/fics_addplayer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/FICS/fics_addplayer.c b/FICS/fics_addplayer.c
index 2c9518d..8f01604 100644
--- a/FICS/fics_addplayer.c
+++ b/FICS/fics_addplayer.c
@@ -113,7 +113,7 @@ main(int argc, char *argv[])
parray[p].emailAddress = xstrdup(email);
for (i = 0; i < PASSLEN; i++)
- password[i] = ('a' + rand() % 26);
+ password[i] = ('a' + arc4random_uniform(26));
password[i] = '\0';
strcpy(salt, fics_getsalt());