summaryrefslogtreecommitdiffstats
path: root/usr.bin/rsh
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 21:06:22 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 21:06:22 +0000
commit7926f9a427cf41d969d72340286db7efb8743a66 (patch)
treeda8779c8b2f14312d092a35a76aa10da281708e3 /usr.bin/rsh
parent1bcfc94e3662a0bd029d4775d2f64c26a73020a0 (diff)
downloadFreeBSD-src-7926f9a427cf41d969d72340286db7efb8743a66.zip
FreeBSD-src-7926f9a427cf41d969d72340286db7efb8743a66.tar.gz
Use libcrypto in place of libdes.
Diffstat (limited to 'usr.bin/rsh')
-rw-r--r--usr.bin/rsh/Makefile4
-rw-r--r--usr.bin/rsh/rsh.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/rsh/Makefile b/usr.bin/rsh/Makefile
index ede91df..ff6d61e 100644
--- a/usr.bin/rsh/Makefile
+++ b/usr.bin/rsh/Makefile
@@ -14,8 +14,8 @@ CFLAGS+=-DKERBEROS -DCRYPT -DHAVE_CONFIG_H \
-I${.CURDIR}/../../crypto/kerberosIV/include \
-I${.CURDIR}/../../crypto/kerberosIV/lib/roken \
-I${.CURDIR}/../../crypto/kerberosIV/appl/bsd
-DPADD= ${LIBUTIL} ${LIBKRB} ${LIBDES} ${LIBCRYPT} ${LIBCOM_ERR}
-LDADD= -lutil -lkrb -ldes -lcrypt -lcom_err
+DPADD= ${LIBUTIL} ${LIBKRB} ${LIBCRYPTO} ${LIBCRYPT} ${LIBCOM_ERR}
+LDADD= -lutil -lkrb -lcrypto -lcrypt -lcom_err
DISTRIBUTION= krb4
.PATH: ${.CURDIR}/../../crypto/kerberosIV/appl/bsd
.endif
diff --git a/usr.bin/rsh/rsh.c b/usr.bin/rsh/rsh.c
index 69579ff..95b0652 100644
--- a/usr.bin/rsh/rsh.c
+++ b/usr.bin/rsh/rsh.c
@@ -69,7 +69,7 @@ static const char rcsid[] =
#include "pathnames.h"
#ifdef KERBEROS
-#include <des.h>
+#include <openssl/des.h>
#include <krb.h>
#include "krb.h"
OpenPOWER on IntegriCloud