summaryrefslogtreecommitdiffstats
path: root/usr.bin/su
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/su
parent1bcfc94e3662a0bd029d4775d2f64c26a73020a0 (diff)
downloadFreeBSD-src-7926f9a427cf41d969d72340286db7efb8743a66.zip
FreeBSD-src-7926f9a427cf41d969d72340286db7efb8743a66.tar.gz
Use libcrypto in place of libdes.
Diffstat (limited to 'usr.bin/su')
-rw-r--r--usr.bin/su/Makefile4
-rw-r--r--usr.bin/su/su.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/su/Makefile b/usr.bin/su/Makefile
index 91ac2a8..99b44fb 100644
--- a/usr.bin/su/Makefile
+++ b/usr.bin/su/Makefile
@@ -15,8 +15,8 @@ CFLAGS+= -Wall
.if exists(${DESTDIR}${LIBDIR}/libkrb.a) && defined(MAKE_KERBEROS4)
CFLAGS+=-DKERBEROS
-DPADD+= ${LIBKRB} ${LIBDES} ${LIBCOM_ERR}
-LDADD+= -lkrb -ldes -lcom_err
+DPADD+= ${LIBKRB} ${LIBCRYPTO} ${LIBCOM_ERR}
+LDADD+= -lkrb -lcrypto -lcom_err
DISTRIBUTION= krb4
.endif
diff --git a/usr.bin/su/su.c b/usr.bin/su/su.c
index 2e5651e..1745067 100644
--- a/usr.bin/su/su.c
+++ b/usr.bin/su/su.c
@@ -70,7 +70,7 @@ static const char rcsid[] =
#endif
#ifdef KERBEROS
-#include <des.h>
+#include <openssl/des.h>
#include <krb.h>
#include <netdb.h>
OpenPOWER on IntegriCloud