Checkout
coar
committed
on 03 Feb 99

Rework the ap_MD5Encode() routine to use FreeBSD's algorithm
and a private significator ("$apr1"); also make it reentrant.
Abstract the … Show more

        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)

Show less