Rework the ap_MD5Encode() routine to use FreeBSD's algorithm and a private significator ("$apr1"); also make it reentrant. Abstract the password checking into a new routine, ap_validate_password(plaintext, hashed), and modify mod_auth*.c to use it instead of each doing the algorithm check. Obtained from: FreeBSD 3.0 /usr/src/lib/libcrypt/crypt.c (MD5) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/1.3.x@82740 13f79535-47bb-0310-9956-ffa450edef68
Loading
Please sign in to comment