summaryrefslogtreecommitdiffstats
path: root/bin/rcp
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 21:21:15 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 21:21:15 +0000
commit7f1f2ce659db45fc564ae8a4c527976c796902ff (patch)
tree99c788df5f90f3ae784f4ecba15f4664ad235562 /bin/rcp
parent8a6c9808f406f5f0d4dde43a883c011b586e12e7 (diff)
downloadFreeBSD-src-7f1f2ce659db45fc564ae8a4c527976c796902ff.zip
FreeBSD-src-7f1f2ce659db45fc564ae8a4c527976c796902ff.tar.gz
Use libcrypto inst=ead if libdes.
Diffstat (limited to 'bin/rcp')
-rw-r--r--bin/rcp/Makefile4
-rw-r--r--bin/rcp/rcp.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/rcp/Makefile b/bin/rcp/Makefile
index d4fa4e8..c3d2483 100644
--- a/bin/rcp/Makefile
+++ b/bin/rcp/Makefile
@@ -7,14 +7,14 @@ CFLAGS+=-DBINDIR=${BINDIR}
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
SRCS+= krcmd.c kcmd.c rcmd_util.c
-DPADD= ${LIBUTIL} ${LIBKRB} ${LIBDES}
+DPADD= ${LIBUTIL} ${LIBKRB} ${LIBCRYPTO}
CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \
-I${.CURDIR}/../../kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
-I${.CURDIR}/../../crypto/kerberosIV/appl/bsd \
-I${.CURDIR}
-LDADD= -lutil -lkrb -ldes
+LDADD= -lutil -lkrb -lcrypto
DISTRIBUTION= krb4
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
.endif
diff --git a/bin/rcp/rcp.c b/bin/rcp/rcp.c
index 292df37..a1534ea 100644
--- a/bin/rcp/rcp.c
+++ b/bin/rcp/rcp.c
@@ -72,7 +72,7 @@ static const char rcsid[] =
#include "extern.h"
#ifdef KERBEROS
-#include <des.h>
+#include <openssl/des.h>
#include <krb.h>
#include "bsd_locl.h"
OpenPOWER on IntegriCloud