aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-04-19 02:23:32 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-04-19 02:23:32 +0200
commite65b146c79825f9b7f5660ebce284b4b66c13966 (patch)
tree5a993ff8f5ed153325a917a9ee8906912c4c4778 /lib
parent47135d7827c75073278089d43220df48f250b118 (diff)
wibble
Diffstat (limited to 'lib')
-rwxr-xr-xlib/Fripost/Password.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Fripost/Password.pm b/lib/Fripost/Password.pm
index 595502d..53a10f7 100755
--- a/lib/Fripost/Password.pm
+++ b/lib/Fripost/Password.pm
@@ -77,7 +77,7 @@ sub hash ($$$) {
sub is_salted { return ( not ( defined $_[0] ) or $_[0] ne '' ) };
-# Generate (random) salt, with a (random) length of 23 to 31 bytes.
+# Generate (random) salt, with a (random) length of 24 to 31 bytes.
sub make_salt {
my $len = 31 - int( rand(8) );
my @bytes = ();