summaryrefslogtreecommitdiffstats
path: root/auth-pam.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-07-09 14:42:32 +0200
committerDamien Miller <djm@mindrot.org>2000-07-09 14:42:32 +0200
commitf9b625c36e3dea521c02919e90ac2ddcfd19b06a (patch)
tree6e8fa4e190383746877cc0a49b62de34e6d657bd /auth-pam.c
parent - (djm) Replace ut_name with ut_user. Patch from Jim Watt (diff)
downloadopenssh-f9b625c36e3dea521c02919e90ac2ddcfd19b06a.tar.xz
openssh-f9b625c36e3dea521c02919e90ac2ddcfd19b06a.zip
- (djm) Fix pam sprintf fix
- (djm) Cleanup entropy collection code a little more. Split initialisation from seeding, perform intialisation immediatly at start, be careful with uids. Based on problem report from Jim Watt <jimw@peisj.pebio.com>
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/auth-pam.c b/auth-pam.c
index a3067d619..852dbdc21 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -34,7 +34,7 @@
#include "xmalloc.h"
#include "servconf.h"
-RCSID("$Id: auth-pam.c,v 1.10 2000/07/09 11:21:52 djm Exp $");
+RCSID("$Id: auth-pam.c,v 1.11 2000/07/09 12:42:33 djm Exp $");
#define NEW_AUTHTOK_MSG \
"Warning: You password has expired, please change it now"
@@ -279,7 +279,7 @@ char **fetch_pam_environment(void)
void print_pam_messages(void)
{
if (pam_msg != NULL)
- fputs(stderr, pam_msg);
+ fputs(pam_msg, stderr);
}
/* Append a message to the PAM message buffer */