summaryrefslogtreecommitdiff
path: root/session.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-07-08 20:52:12 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-07-08 20:52:12 +1000
commita0c0b6311210e0cddfb1b038bd7b37f5a298ef3e (patch)
treefeecc2846260789958f31ed415aa9065455879fc /session.c
parentf1159b5b29069caba12dfee88a3a9fb5dc83074d (diff)
downloadopenssh-git-a0c0b6311210e0cddfb1b038bd7b37f5a298ef3e.tar.gz
- (dtucker) [acconfig.h auth-passwd.c configure.ac session.c port-aix.[ch]]
Include AIX headers for authentication functions and make calls match prototypes. Test for and handle 3-args and 4-arg variants of loginfailed.
Diffstat (limited to 'session.c')
-rw-r--r--session.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/session.c b/session.c
index dc9777de..ac57c3d0 100644
--- a/session.c
+++ b/session.c
@@ -1215,7 +1215,7 @@ do_setusercontext(struct passwd *pw)
{
#ifdef HAVE_SETPCRED
- setpcred(pw->pw_name);
+ setpcred(pw->pw_name, (char **)NULL);
#endif /* HAVE_SETPCRED */
#ifdef HAVE_LOGIN_CAP
# ifdef __bsdi__