aboutsummaryrefslogtreecommitdiff
path: root/lib/libradius/Makefile
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2004-04-27 15:00:29 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2004-04-27 15:00:29 +0000
commitb4b831ef39a3e2f33a3acd094eac471c502ec259 (patch)
tree0dae619316439e29971df9d6d54b64a9b59363b9 /lib/libradius/Makefile
parentd5ac36eda752e6ba04ae462709446fb085520b50 (diff)
downloadsrc-b4b831ef39a3e2f33a3acd094eac471c502ec259.tar.gz
src-b4b831ef39a3e2f33a3acd094eac471c502ec259.zip
- Added rad_demangle() for demangling user-passwords (needed for
MS-CHAPv1 MPPE-keys). - Added rad_demangle_mppe_key() for demangling mppe-keys (needed for MPPE-keys). - Added some typecasts for avoiding compiler warnings. - Fix: better handle wrong usage of the lib (if the programmer has not called rad_create_request() but rad_put_*(), then a weird error message was returned). - Added a new function for putting the Message-Authenticator. - Verify the Message-Authenticator, if it was found inside a response packet and silently drop the packet, if the validation failed. - Implicitly put the Message-Authenticator, if the EAP-Message attribute was added. - Added some missing defines. Submitted by: Michael Bretterklieber PR: 46555
Notes
Notes: svn path=/head/; revision=128684
Diffstat (limited to 'lib/libradius/Makefile')
-rw-r--r--lib/libradius/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/lib/libradius/Makefile b/lib/libradius/Makefile
index f2a766882eb2..0f2eb88bbd6a 100644
--- a/lib/libradius/Makefile
+++ b/lib/libradius/Makefile
@@ -22,15 +22,22 @@
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
#
-# $FreeBSD$
+# $FreeBSD$
LIB= radius
SRCS= radlib.c
INCS= radlib.h radlib_vs.h
CFLAGS+= -Wall
-DPADD= ${LIBMD}
-LDADD= -lmd
SHLIB_MAJOR= 1
MAN= libradius.3 radius.conf.5
+.if defined(NOCRYPT) || defined(NO_OPENSSL)
+DPADD= ${LIBMD}
+LDADD= -lmd
+.else
+DPADD= ${LIBSSL}
+LDADD= -lssl
+CFLAGS+= -DWITH_SSL
+.endif
+
.include <bsd.lib.mk>