#include "auth.h"
#include "courierauthdebug.h"
-static const char rcsid[]="$Id: checkpassword.c,v 1.15 2006/10/28 19:22:52 mrsam Exp $";
+static const char rcsid[]="$Id: checkpassword.c,v 1.16 2007/10/07 02:50:45 mrsam Exp $";
#if HAVE_CRYPT
#if NEED_CRYPT_PROTOTYPE
{
#if HAVE_MD5LIB
if (strncmp(encrypted_password, "$1$", 3) == 0
- || strncasecmp(encrypted_password, "{MD5}", 5) == 0
- )
+ || strncasecmp(encrypted_password, "{MD5}", 5) == 0
+ || strncasecmp(encrypted_password, "{MD5RAW}", 8) == 0
+ )
return (authcheckpasswordmd5(password, encrypted_password));
#endif