This patch adds support for sha1 to apr_password_validate.

Tested with httpd-2.1 head and mod_authn_file.  Without this patch, htpasswd
can write out sha1 encoded passwords, but none of the authentication modules
could use sha1 encoded passwords.

It seems like sha1 support was always intended to be in apr_password_validate,
but dropped through the cracks.

Perhaps this should also be applied to the 0.9 branch?

- Paul Querna

Attachment: sha1_for_apr_password_validate.patch
Description: Binary data

Reply via email to