summaryrefslogtreecommitdiffstats
path: root/auth.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-05-22 06:04:11 +0200
committerDamien Miller <djm@mindrot.org>2002-05-22 06:04:11 +0200
commit13e35a0ea2e1844d9c74a82983df2788070e92b0 (patch)
treea42d0658383a994aea5b655251d2ced7d1c81c53 /auth.c
parent fix spelling mistakes spotted by Solar Designer <solar@openwall.com> (diff)
downloadopenssh-13e35a0ea2e1844d9c74a82983df2788070e92b0.tar.xz
openssh-13e35a0ea2e1844d9c74a82983df2788070e92b0.zip
rcsid sync
Diffstat (limited to 'auth.c')
-rw-r--r--auth.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth.c b/auth.c
index 7c2faeed1..23934b827 100644
--- a/auth.c
+++ b/auth.c
@@ -1,4 +1,4 @@
-/*
+r/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -23,7 +23,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: auth.c,v 1.42 2002/05/13 20:44:58 markus Exp $");
+RCSID("$OpenBSD: auth.c,v 1.43 2002/05/17 14:27:55 millert Exp $");
#ifdef HAVE_LOGIN_H
#include <login.h>
@@ -485,7 +485,7 @@ getpwnamallow(const char *user)
}
#ifdef BSD_AUTH
if ((as = auth_open()) == NULL || auth_setpwd(as, pw) != 0 ||
- auth_approval(NULL, lc, pw->pw_name, "ssh") <= 0) {
+ auth_approval(as, lc, pw->pw_name, "ssh") <= 0) {
debug("Approval failure for %s", user);
pw = NULL;
}