summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd
diff options
context:
space:
mode:
authormarkm <markm@FreeBSD.org>2000-02-24 21:10:28 +0000
committermarkm <markm@FreeBSD.org>2000-02-24 21:10:28 +0000
commit4dfdc66cab217db1c43f8f5db234a731900d85b0 (patch)
treef8ea8e6a6680b0fc9f39e56667dfb083b48e64dd /usr.sbin/pppd
parent7926f9a427cf41d969d72340286db7efb8743a66 (diff)
downloadFreeBSD-src-4dfdc66cab217db1c43f8f5db234a731900d85b0.zip
FreeBSD-src-4dfdc66cab217db1c43f8f5db234a731900d85b0.tar.gz
Use libcrypto instead of libdes.
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r--usr.sbin/pppd/Makefile8
-rw-r--r--usr.sbin/pppd/chap_ms.c2
2 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile
index e994985..aef5bfc 100644
--- a/usr.sbin/pppd/Makefile
+++ b/usr.sbin/pppd/Makefile
@@ -32,8 +32,12 @@ DPADD+= ${LIBPCAP}
DISTRIBUTION=des
CFLAGS+=-DCHAPMS
SRCS+= chap_ms.c
-LDADD+= -ldes
-DPADD+= ${LIBDES}
+LDADD+= -lcrypto
+DPADD+= ${LIBCRYPTO}
+.if defined(RSAREF) && ${RSAREF} == YES
+LDADD+= -lRSAglue
+DPADD+= ${LIBRSAGLUE}
+.endif
.endif
.if defined(RELEASE_CRUNCH)
diff --git a/usr.sbin/pppd/chap_ms.c b/usr.sbin/pppd/chap_ms.c
index 72fa676..c3e1f6e 100644
--- a/usr.sbin/pppd/chap_ms.c
+++ b/usr.sbin/pppd/chap_ms.c
@@ -54,7 +54,7 @@ static char rcsid[] = "$FreeBSD$";
#include "md4.h"
#ifndef USE_CRYPT
-#include <des.h>
+#include <openssl/des.h>
#endif
typedef struct {
OpenPOWER on IntegriCloud