aboutsummaryrefslogtreecommitdiff
path: root/lib/password.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/password.c')
-rw-r--r--lib/password.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/password.c b/lib/password.c
index 3497176a..6bea3d70 100644
--- a/lib/password.c
+++ b/lib/password.c
@@ -23,7 +23,7 @@ int get_salt(char *salt, char *algo)
if (al[i].id) s += sprintf(s, "$%c$", '0'+al[i].id);
// Read appropriate number of random bytes for salt
- xgetrandom(libbuf, ((len*6)+7)/8, 0);
+ xgetrandom(libbuf, ((len*6)+7)/8);
// Grab 6 bit chunks and convert to characters in ./0-9a-zA-Z
for (i = 0; i<len; i++) {