summaryrefslogtreecommitdiff
path: root/accel-pppd/CMakeLists.txt
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2012-12-10 00:30:09 +0400
committerKozlov Dmitry <xeb@mail.ru>2013-01-24 23:55:37 +0400
commit48502707eb16f0ed0d4aa46bac7c18fba953c7bc (patch)
treef18e5568b93ec951d6bbd593d53df64433eba5c6 /accel-pppd/CMakeLists.txt
parent433d988f0d81b833bf5654dc10d55722b426f8ec (diff)
downloadaccel-ppp-48502707eb16f0ed0d4aa46bac7c18fba953c7bc.tar.gz
accel-ppp-48502707eb16f0ed0d4aa46bac7c18fba953c7bc.zip
implemented different sessionid length and urandom source
Diffstat (limited to 'accel-pppd/CMakeLists.txt')
-rw-r--r--accel-pppd/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt
index 3f4e27a5..141b493d 100644
--- a/accel-pppd/CMakeLists.txt
+++ b/accel-pppd/CMakeLists.txt
@@ -24,6 +24,12 @@ IF (MEMDEBUG)
ENDIF (VALGRIND)
ENDIF (MEMDEBUG)
+IF (SESSIONID_LEN)
+ ADD_DEFINITIONS(-DAP_SESSIONID_LEN=${SESSIONID_LEN})
+ELSE (SESSIONID_LEN)
+ ADD_DEFINITIONS(-DAP_SESSIONID_LEN=16)
+ENDIF (SESSIONID_LEN)
+
IF (BACKUP)
ADD_DEFINITIONS(-DUSE_BACKUP)
ADD_SUBDIRECTORY(backup)
@@ -38,6 +44,7 @@ IF (RADIUS)
ADD_SUBDIRECTORY(radius)
ENDIF (RADIUS)
+
ADD_SUBDIRECTORY(triton)
ADD_SUBDIRECTORY(ctrl)
ADD_SUBDIRECTORY(auth)