diff options
Diffstat (limited to 'usr.sbin/ppp')
-rw-r--r-- | usr.sbin/ppp/Makefile | 8 | ||||
-rw-r--r-- | usr.sbin/ppp/chap_ms.c | 2 |
2 files changed, 7 insertions, 3 deletions
diff --git a/usr.sbin/ppp/Makefile b/usr.sbin/ppp/Makefile index 480fb2e..6581761 100644 --- a/usr.sbin/ppp/Makefile +++ b/usr.sbin/ppp/Makefile @@ -37,8 +37,12 @@ DPADD+= ${LIBALIAS} DISTRIBUTION=des CFLAGS+=-DHAVE_DES 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(NORADIUS) diff --git a/usr.sbin/ppp/chap_ms.c b/usr.sbin/ppp/chap_ms.c index e1d495f..6530ef6 100644 --- a/usr.sbin/ppp/chap_ms.c +++ b/usr.sbin/ppp/chap_ms.c @@ -26,7 +26,7 @@ #include <sys/types.h> #include <ctype.h> -#include <des.h> +#include <openssl/des.h> #include <string.h> #include "chap_ms.h" |