Moved TLS functions to a common area.
authorAlan T. DeKok <aland@freeradius.org>
Sat, 2 Apr 2011 16:11:41 +0000 (18:11 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 10 May 2011 11:39:18 +0000 (13:39 +0200)
In preparation for doing RadSec

src/main/Makefile.in
src/main/cb.c [moved from src/modules/rlm_eap/libeap/cb.c with 100% similarity]
src/main/tls.c [moved from src/modules/rlm_eap/libeap/tls.c with 100% similarity]
src/modules/rlm_eap/libeap/Makefile

index 79844cd..fbab172 100644 (file)
@@ -9,6 +9,9 @@ SERVER_SRCS     = acct.c auth.c client.c conffile.c crypt.c exec.c files.c \
                  radiusd.c stats.c soh.c \
                  session.c threads.c util.c valuepair.c version.c  \
                  xlat.c process.c realms.c evaluate.c vmps.c detail.c
+ifneq ($(OPENSSL_LIBS),)
+SERVER_SRCS    += cb.c tls.c
+endif
 
 SERVER_OBJS    += $(SERVER_SRCS:.c=.lo)
 
index 47f104b..fa8f874 100644 (file)
@@ -8,7 +8,7 @@ include ../../../../Make.inc
 
 SRCS           = eapcommon.c eapcrypto.c eapsimlib.c fips186prf.c
 ifneq ($(OPENSSL_LIBS),)
-SRCS           += cb.c eap_tls.c mppe_keys.c tls.c
+SRCS           += eap_tls.c mppe_keys.c
 endif
 LT_OBJS                = $(SRCS:.c=.lo)
 INCLUDES       = eap_types.h eap_tls.h