From 939c32909c85eaa48396b13f2f7c948e31c25b42 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Sat, 2 Sep 2000 07:32:05 +0000 Subject: [PATCH] Err, we weren't even compiling auth1.c with LOGIN_CAP at all. Guess nobody was using this feature. --- crypto/openssh/auth1.c | 1 + crypto/openssh/session.c | 1 - secure/usr.sbin/sshd/Makefile | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crypto/openssh/auth1.c b/crypto/openssh/auth1.c index cc949c4876b..38e807fa14c 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 #ifdef KRB5 extern krb5_context ssh_context; diff --git a/crypto/openssh/session.c b/crypto/openssh/session.c index 1cd8e217501..f56e629751d 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 17357d5a910..d3d0bb31a02 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