diff options
author | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-05-03 18:18:55 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem.moulin@fripost.org> | 2012-05-03 18:18:55 +0200 |
commit | b0460b1b8fb61569d20cbd4ac75ae6976bd34a92 (patch) | |
tree | a95c60c0f6705d73558e00b3afa3e0006dfb65a2 /lib/Fripost/Password.pm | |
parent | eea26843500c7d12f0ee2e9e89d80953d5f7276f (diff) |
‘IO::Prompt’ is deprecacted; Migrating to ‘IO::Prompter’ (by the same author).
Diffstat (limited to 'lib/Fripost/Password.pm')
-rwxr-xr-x | lib/Fripost/Password.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Fripost/Password.pm b/lib/Fripost/Password.pm index 53a10f7..fc1f7ce 100755 --- a/lib/Fripost/Password.pm +++ b/lib/Fripost/Password.pm @@ -33,9 +33,9 @@ our @ISA = qw(Exporter); # CRYPT - since it requires salt). # If `$salt' is `undef', the salt is automatically generated, using the # subroutine `&make_salt' below. -sub hash ($$$) { +sub hash { - my ($h, $salt, $pw) = @_; + my ($pw, $h, $salt) = @_; $h //= SHA1; # Treat the schemes that don't use Digest::.. separetely. |