HCoop
/
hcoop
/
debian
/
courier-authlib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Debian patch 0.60.1-1
[hcoop/debian/courier-authlib.git]
/
checkpassword.c
diff --git
a/checkpassword.c
b/checkpassword.c
index
22dddef
..
b71fe14
100644
(file)
--- a/
checkpassword.c
+++ b/
checkpassword.c
@@
-16,7
+16,7
@@
#include "auth.h"
#include "courierauthdebug.h"
#include "auth.h"
#include "courierauthdebug.h"
-static const char rcsid[]="$Id: checkpassword.c,v 1.1
5 2006/10/28 19:22:52
mrsam Exp $";
+static const char rcsid[]="$Id: checkpassword.c,v 1.1
6 2007/10/07 02:50:45
mrsam Exp $";
#if HAVE_CRYPT
#if NEED_CRYPT_PROTOTYPE
#if HAVE_CRYPT
#if NEED_CRYPT_PROTOTYPE
@@
-36,8
+36,9
@@
static int do_authcheckpassword(const char *password, const char *encrypted_pass
{
#if HAVE_MD5LIB
if (strncmp(encrypted_password, "$1$", 3) == 0
{
#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
return (authcheckpasswordmd5(password, encrypted_password));
#endif