mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +00:00
41dcdf6652
introduced in ports/mail/vpopmail/Makefile rev. 1.57. Submitted by: Nikolay Georgiev <niki@techlab.office1.bg>
16 lines
549 B
Diff
16 lines
549 B
Diff
--- vchkpw.c.orig Thu Dec 16 15:57:34 2004
|
|
+++ vchkpw.c Fri Sep 16 06:25:31 2005
|
|
@@ -435,8 +435,10 @@
|
|
#ifdef CLEAR_PASS
|
|
/* Check CRAM-MD5 auth */
|
|
if(ConnType == SMTP_CONN) {
|
|
- /* printf("vchkpw: smtp auth\n"); */
|
|
- cramaccepted = authcram(ThePass,TheChallenge,vpw->pw_clear_passwd);
|
|
+ printf("vchkpw: smtp auth\n");
|
|
+ /* cramaccepted = authcram(ThePass,TheChallenge,vpw->pw_clear_passwd); */
|
|
+ cramaccepted = authcram(TheChallenge,ThePass,vpw->pw_clear_passwd);
|
|
+
|
|
if(cramaccepted == 0) strcpy(AuthType, "CRAM-MD5");
|
|
}
|
|
|