summaryrefslogtreecommitdiff
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
parentc58c2eedb04168330060406d7634db155d871fb2 (diff)
Add extern __progname, needed if SSHD_PAM_SERVICE not defined
-rw-r--r--auth-pam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/auth-pam.c b/auth-pam.c
index 8cb78db1..806c8086 100644
--- a/auth-pam.c
+++ b/auth-pam.c
@@ -31,7 +31,7 @@
/* Based on $FreeBSD: src/crypto/openssh/auth2-pam-freebsd.c,v 1.11 2003/03/31 13:48:18 des Exp $ */
#include "includes.h"
-RCSID("$Id: auth-pam.c,v 1.71 2003/09/13 12:02:05 dtucker Exp $");
+RCSID("$Id: auth-pam.c,v 1.72 2003/09/13 12:12:11 dtucker Exp $");
#ifdef USE_PAM
#include <security/pam_appl.h>
@@ -276,6 +276,7 @@ static int
sshpam_init(const char *user)
{
extern u_int utmp_len;
+ extern char *__progname;
const char *pam_rhost, *pam_user;
if (sshpam_handle != NULL) {