From 0f92971bccf1569b056683809c1cec84c8b6a949 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 24 Oct 2015 13:53:20 +0000 Subject: [PATCH] Don't compile pwd_gensalt, it's not needed since we use crypt_checkpass. ok tedu@ --- libexec/login_passwd/Makefile | 5 ++--- libexec/login_passwd/common.h | 3 +-- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/libexec/login_passwd/Makefile b/libexec/login_passwd/Makefile index 44e4b45ce4d..6c03ecf9ade 100644 --- a/libexec/login_passwd/Makefile +++ b/libexec/login_passwd/Makefile @@ -1,12 +1,11 @@ -# $OpenBSD: Makefile,v 1.5 2006/03/09 19:14:10 millert Exp $ +# $OpenBSD: Makefile,v 1.6 2015/10/24 13:53:20 ajacoutot Exp $ PROG= login_passwd MAN= login_passwd.8 -SRCS= login.c login_passwd.c pwd_gensalt.c +SRCS= login.c login_passwd.c DPADD= ${LIBUTIL} LDADD= -lutil CFLAGS+=-Wall -DPASSWD -.PATH: ${.CURDIR}/../../usr.bin/passwd BINOWN= root BINGRP= auth diff --git a/libexec/login_passwd/common.h b/libexec/login_passwd/common.h index aeaee7b41e4..b810d69dd3d 100644 --- a/libexec/login_passwd/common.h +++ b/libexec/login_passwd/common.h @@ -1,4 +1,4 @@ -/* $OpenBSD: common.h,v 1.5 2015/01/16 06:39:50 deraadt Exp $ */ +/* $OpenBSD: common.h,v 1.6 2015/10/24 13:53:20 ajacoutot Exp $ */ /*- * Copyright (c) 2001 Hans Insulander . * All rights reserved. @@ -56,7 +56,6 @@ extern FILE *back; #ifdef PASSWD int pwd_login(char *, char *, char *, int, char *); -int pwd_gensalt(char *, int, login_cap_t *, char); #endif #ifdef KRB5 int krb5_login(char *, char *, char *, int, int, char *); -- 2.20.1