[dovecot-cvs] dovecot/src/auth userinfo-passwd.c,1.10,1.11

cras at procontrol.fi cras at procontrol.fi
Sun Dec 22 22:17:50 EET 2002


Update of /home/cvs/dovecot/src/auth
In directory danu:/tmp/cvs-serv27514/auth

Modified Files:
	userinfo-passwd.c 
Log Message:
Always compile in passwd_fill_cookie_reply(), it's used by pretty much all
auth modules.



Index: userinfo-passwd.c
===================================================================
RCS file: /home/cvs/dovecot/src/auth/userinfo-passwd.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- userinfo-passwd.c	19 Dec 2002 01:02:34 -0000	1.10
+++ userinfo-passwd.c	22 Dec 2002 20:17:48 -0000	1.11
@@ -8,10 +8,7 @@
 #include "config.h"
 #undef HAVE_CONFIG_H
 
-#ifdef USERINFO_PASSWD
-
 #include "userinfo-passwd.h"
-#include "mycrypt.h"
 
 void passwd_fill_cookie_reply(struct passwd *pw, AuthCookieReplyData *reply)
 {
@@ -27,6 +24,10 @@
 	if (strocpy(reply->home, pw->pw_dir, sizeof(reply->home)) < 0)
 		i_panic("home overflow");
 }
+
+#ifdef USERINFO_PASSWD
+
+#include "mycrypt.h"
 
 static int passwd_verify_plain(const char *user, const char *password,
 			       AuthCookieReplyData *reply)




More information about the dovecot-cvs mailing list