Err, we weren't even compiling auth1.c with LOGIN_CAP at all. Guess nobody

was using this feature.
This commit is contained in:
Kris Kennaway 2000-09-02 07:32:05 +00:00
parent 80bbcbe344
commit 939c32909c
3 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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__ */

View File

@ -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>