So I'm trying to drop crypt and trying to write tests for the md5 and sha1
parts of the apr_password_validate. I fail to come up with any test input that
will pass the test. I try various md5 and sha1 functions, and none of them
matches. Is it supposed to work only with hash values generated by apr's own
md5 and sha1 functions? I suppose I miss something, since for example digest
auth hash is generated by the client, and certainly can't know about apr's
function.
I hoped to find the tests in apr-util/test/testpass.c, but alas neither md5
nor sha1 hashes are tested at all. Only crypt which is not available
crossplatform.
Suggestions?
--
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
|