/[smeserver]/rpms/e-smith-lib/sme7/e-smith-lib-1.18.0-validatePassword.patch
ViewVC logotype

Annotation of /rpms/e-smith-lib/sme7/e-smith-lib-1.18.0-validatePassword.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Mon Jan 7 18:49:34 2008 UTC (16 years, 10 months ago) by bytegw
Branch: MAIN
CVS Tags: e-smith-lib-1_18_0-23_el4_sme, e-smith-lib-1_18_0-19_el4_sme, e-smith-lib-1_18_0-24_el4_sme, e-smith-lib-1_18_0-28_el4_sme, e-smith-lib-1_18_0-22_el4_sme, e-smith-lib-1_18_0-27_el4_sme, e-smith-lib-1_18_0-21_el4_sme, e-smith-lib-1_18_0-26_el4_sme, e-smith-lib-1_18_0-20_el4_sme, e-smith-lib-1_18_0-25_el4_sme
Updates

1 bytegw 1.1 diff -Nur -x '*.orig' -x '*.rej' e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm mezzanine_patched_e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm
2     --- e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm 2008-01-07 06:26:45.000000000 -0700
3     +++ mezzanine_patched_e-smith-lib-1.18.0/root/usr/lib/perl5/site_perl/esmith/util.pm 2008-01-07 06:25:43.000000000 -0700
4     @@ -574,7 +574,7 @@
5     $reason = 'it does not contain uppercase characters' if (not $password =~ /[A-Z]/);
6     $reason = 'it does not contain lowercase characters' if (not $password =~ /[a-z]/);
7     $reason = 'it does not contain special characters' if (not $password =~ /\W|_/);
8     - return $reason unless ($reason eq 'ok' || $strength eq 'strong');
9     + return $reason if ($reason ne 'ok' && $strength eq 'strong');
10    
11     $reason = fascist_check($password, '/usr/lib/cracklib_dict');
12     $reason ||= 'the password check failed';

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed