summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 @@
1/* 1r/*
2 * Copyright (c) 2000 Markus Friedl. All rights reserved. 2 * Copyright (c) 2000 Markus Friedl. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
@@ -23,7 +23,7 @@
23 */ 23 */
24 24
25#include "includes.h" 25#include "includes.h"
26RCSID("$OpenBSD: auth.c,v 1.42 2002/05/13 20:44:58 markus Exp $"); 26RCSID("$OpenBSD: auth.c,v 1.43 2002/05/17 14:27:55 millert Exp $");
27 27
28#ifdef HAVE_LOGIN_H 28#ifdef HAVE_LOGIN_H
29#include <login.h> 29#include <login.h>
@@ -485,7 +485,7 @@ getpwnamallow(const char *user)
485 } 485 }
486#ifdef BSD_AUTH 486#ifdef BSD_AUTH
487 if ((as = auth_open()) == NULL || auth_setpwd(as, pw) != 0 || 487 if ((as = auth_open()) == NULL || auth_setpwd(as, pw) != 0 ||
488 auth_approval(NULL, lc, pw->pw_name, "ssh") <= 0) { 488 auth_approval(as, lc, pw->pw_name, "ssh") <= 0) {
489 debug("Approval failure for %s", user); 489 debug("Approval failure for %s", user);
490 pw = NULL; 490 pw = NULL;
491 } 491 }