Steve Hay wrote:
Stas Bekman wrote:


Steve Hay wrote:



and I now have two other tests (apr/util and modperl/exit) failing too (on their own, that is, not just after apr/pool).



What do you mean 'now', there weren't failing yesterday and started to fail now?


Yes -- they work in 1.99_14, but not using the CVS that I just grabbed

OK, let's figure it out. I've committed many new tests since the release.

Index: t/response/TestAPR/util.pm
===================================================================
RCS file: /home/cvs/modperl-2.0/t/response/TestAPR/util.pm,v
retrieving revision 1.8
diff -u -r1.8 util.pm
--- t/response/TestAPR/util.pm  22 May 2004 21:47:32 -0000      1.8
+++ t/response/TestAPR/util.pm  25 May 2004 08:16:52 -0000
@@ -23,7 +23,7 @@
    ok ! APR::Util::password_validate("one", "two");

    my $clear = "pass1";
-    my $hash  = "1fWDc9QWYCWrQ";
+    my $hash  = crypt $clear, 'FE';
    ok APR::Util::password_validate($clear, $hash);

    Apache::OK;

Does this make any difference?


No, although the hardcoded hash is different to what crypt() returns in my Perl:


C:\Temp\modperl-2.0>perl -e "print crypt 'pass1', 'FE'"
FExG070GemhK6

Can you take a look at apr_password_validate and see why it doesn't validate on windows?


--
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to