summaryrefslogtreecommitdiff
path: root/auth-pam.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2003-09-13 22:12:11 +1000
committerDarren Tucker <dtucker@zip.com.au>2003-09-13 22:12:11 +1000
commit455813b79e1bd6e2a525d38da52a49defcc03f68 (patch)
treee2d2fcbf48787b6804fe47c26a1b6665d5b94ed4 /auth-pam.c
parentc58c2eedb04168330060406d7634db155d871fb2 (diff)
Add extern __progname, needed if SSHD_PAM_SERVICE not defined
Diffstat (limited to 'auth-pam.c')
-rw-r--r--auth-pam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 8cb78db11..806c80860 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -31,7 +31,7 @@
31 31
32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */ 32/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
33#include "includes.h" 33#include "includes.h"
34RCSID("$Id: auth-pam.c,v 1.71 2003/09/13 12:02:05 dtucker Exp $"); 34RCSID("$Id: auth-pam.c,v 1.72 2003/09/13 12:12:11 dtucker Exp $");
35 35
36#ifdef USE_PAM 36#ifdef USE_PAM
37#include <security/pam_appl.h> 37#include <security/pam_appl.h>
@@ -276,6 +276,7 @@ static int
276sshpam_init(const char *user) 276sshpam_init(const char *user)
277{ 277{
278 extern u_int utmp_len; 278 extern u_int utmp_len;
279 extern char *__progname;
279 const char *pam_rhost, *pam_user; 280 const char *pam_rhost, *pam_user;
280 281
281 if (sshpam_handle != NULL) { 282 if (sshpam_handle != NULL) {