aboutsummaryrefslogtreecommitdiffstats
path: root/fripost-mkpass
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem.moulin@fripost.org>2012-05-03 18:18:55 +0200
committerGuilhem Moulin <guilhem.moulin@fripost.org>2012-05-03 18:18:55 +0200
commitb0460b1b8fb61569d20cbd4ac75ae6976bd34a92 (patch)
treea95c60c0f6705d73558e00b3afa3e0006dfb65a2 /fripost-mkpass
parenteea26843500c7d12f0ee2e9e89d80953d5f7276f (diff)
‘IO::Prompt’ is deprecacted; Migrating to ‘IO::Prompter’ (by the same author).
Diffstat (limited to 'fripost-mkpass')
-rwxr-xr-xfripost-mkpass2
1 files changed, 1 insertions, 1 deletions
diff --git a/fripost-mkpass b/fripost-mkpass
index c30bd37..c0bf6de 100755
--- a/fripost-mkpass
+++ b/fripost-mkpass
@@ -41,7 +41,7 @@ $password //= mkpasswd();
# Show the information that will be inserted
say "Password: " . $password;
-say "Salted SHA-1: " . hash(SHA1, undef, $password);
+say "Salted SHA-1: " . hash($password, SHA1, undef);
=head1 AUTHORS