aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2000-09-02 07:32:05 +0000
committerKris Kennaway <kris@FreeBSD.org>2000-09-02 07:32:05 +0000
commit939c32909c85eaa48396b13f2f7c948e31c25b42 (patch)
tree2f843bff1793008fcc19b2657dceec72d79705d8
parent80bbcbe344be7c44c89315cefec950feb36cbd88 (diff)
Notes
-rw-r--r--crypto/openssh/auth1.c1
-rw-r--r--crypto/openssh/session.c1
-rw-r--r--secure/usr.sbin/sshd/Makefile2
3 files changed, 2 insertions, 2 deletions
diff --git a/crypto/openssh/auth1.c b/crypto/openssh/auth1.c
index cc949c4876b7..38e807fa14c9 100644
--- a/crypto/openssh/auth1.c
+++ b/crypto/openssh/auth1.c
@@ -19,6 +19,7 @@ RCSID("$OpenBSD: auth1.c,v 1.2 2000/04/29 18:11:52 markus Exp $");
#include "compat.h"
#include "auth.h"
#include "session.h"
+#include <login_cap.h>
#ifdef KRB5
extern krb5_context ssh_context;
diff --git a/crypto/openssh/session.c b/crypto/openssh/session.c
index 1cd8e217501e..f56e629751de 100644
--- a/crypto/openssh/session.c
+++ b/crypto/openssh/session.c
@@ -30,7 +30,6 @@ RCSID("$OpenBSD: session.c,v 1.15 2000/05/30 17:23:37 markus Exp $");
#include "auth.h"
#ifdef __FreeBSD__
-#define LOGIN_CAP
#define _PATH_CHPASS "/usr/bin/passwd"
#endif /* __FreeBSD__ */
diff --git a/secure/usr.sbin/sshd/Makefile b/secure/usr.sbin/sshd/Makefile
index 17357d5a9102..d3d0bb31a02d 100644
--- a/secure/usr.sbin/sshd/Makefile
+++ b/secure/usr.sbin/sshd/Makefile
@@ -13,7 +13,7 @@ SRCS= sshd.c auth-rhosts.c auth-passwd.c auth-rsa.c auth-rh-rsa.c \
pty.c log-server.c login.c servconf.c serverloop.c \
auth.c auth1.c auth2.c session.c login_access.c
-CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -I${LOGINSRC}
+CFLAGS+= -DLIBWRAP -DLOGIN_ACCESS -DLOGIN_CAP -I${LOGINSRC}
.include <bsd.own.mk>