From 52a19f5610a2d61172ac7764337eaee72ce111ef Mon Sep 17 00:00:00 2001 From: Mystery Man 553 Date: Tue, 13 Feb 2001 11:38:42 +0000 Subject: md5 now done via crypt --- perl-install/any.pm | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/perl-install/any.pm b/perl-install/any.pm index 1865d25b8..2b2f2b4b8 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -65,9 +65,7 @@ sub addUsers { sub crypt { my ($password, $md5) = @_; - $md5 ? - c::crypt_md5($password, salt(8)) : - crypt ($password, salt(2)); + crypt($password, $md5 ? '$1$' . salt(8) : salt(2)); } sub enableShadow { my ($prefix) = @_; -- cgit v1.2.1