diff options
author | Mark Murray <markm@FreeBSD.org> | 2000-02-24 21:10:28 +0000 |
---|---|---|
committer | Mark Murray <markm@FreeBSD.org> | 2000-02-24 21:10:28 +0000 |
commit | 512182f3ff13d6e5a03ee3365cd16a7704f13588 (patch) | |
tree | dd6f6b945e1afd4a649633f0866225d7ddcbfb5c /usr.sbin/pppd | |
parent | 0ed9356cafe7e02ea2de7538cfb7ec1664462ddb (diff) | |
download | src-512182f3ff13d6e5a03ee3365cd16a7704f13588.tar.gz src-512182f3ff13d6e5a03ee3365cd16a7704f13588.zip |
Use libcrypto instead of libdes.
Notes
Notes:
svn path=/head/; revision=57451
Diffstat (limited to 'usr.sbin/pppd')
-rw-r--r-- | usr.sbin/pppd/Makefile | 8 | ||||
-rw-r--r-- | usr.sbin/pppd/chap_ms.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/pppd/Makefile b/usr.sbin/pppd/Makefile index e9949855b33d..aef5bfce88f1 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 72fa6766b69f..c3e1f6ee44d1 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 { |