[dovecot-cvs] dovecot/src/auth password-scheme.c,1.6,1.7
cras at procontrol.fi
cras at procontrol.fi
Sun May 30 05:21:55 EEST 2004
- Previous message: [dovecot-cvs] dovecot/src/lib-auth auth-client.c, 1.3,
1.4 auth-client.h, 1.4, 1.5 auth-server-connection.c, 1.4,
1.5 auth-server-connection.h, 1.3, 1.4
- Next message: [dovecot-cvs]
dovecot/src/auth Makefile.am, 1.25, 1.26 main.c, 1.24,
1.25 password-scheme.c, 1.7, 1.8 password-scheme.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/dovecot/src/auth
In directory talvi:/tmp/cvs-serv19206
Modified Files:
password-scheme.c
Log Message:
Allow either SHA or SHA1.
Index: password-scheme.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/password-scheme.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- a/password-scheme.c 30 May 2004 01:39:58 -0000 1.6
+++ b/password-scheme.c 30 May 2004 02:21:53 -0000 1.7
@@ -33,7 +33,8 @@
return strcmp(str, password) == 0;
}
#ifdef HAVE_OPENSSL_SHA1
- if (strcasecmp(scheme, "SHA1") == 0) {
+ if (strcasecmp(scheme, "SHA") == 0 ||
+ strcasecmp(scheme, "SHA1") == 0) {
unsigned char sha1_digest[SHA_DIGEST_LENGTH];
string_t *str;
- Previous message: [dovecot-cvs] dovecot/src/lib-auth auth-client.c, 1.3,
1.4 auth-client.h, 1.4, 1.5 auth-server-connection.c, 1.4,
1.5 auth-server-connection.h, 1.3, 1.4
- Next message: [dovecot-cvs]
dovecot/src/auth Makefile.am, 1.25, 1.26 main.c, 1.24,
1.25 password-scheme.c, 1.7, 1.8 password-scheme.h, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the dovecot-cvs
mailing list