changeset 854:89f1e0a754f0 HEAD

Always compile in passwd_fill_cookie_reply(), it's used by pretty much all auth modules.
author Timo Sirainen <tss@iki.fi>
date Sun, 22 Dec 2002 22:17:48 +0200
parents a9c273854dd2
children c77a8b9fb3ef
files src/auth/userinfo-passwd.c
diffstat 1 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/userinfo-passwd.c	Sun Dec 22 19:52:47 2002 +0200
+++ b/src/auth/userinfo-passwd.c	Sun Dec 22 22:17:48 2002 +0200
@@ -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)
 {
@@ -28,6 +25,10 @@
 		i_panic("home overflow");
 }
 
+#ifdef USERINFO_PASSWD
+
+#include "mycrypt.h"
+
 static int passwd_verify_plain(const char *user, const char *password,
 			       AuthCookieReplyData *reply)
 {