diff options
author | venaas <venaas> | 2008-12-22 10:18:35 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2008-12-22 10:18:35 +0000 |
commit | 6068df237753e20c504c954504858585d5105a46 (patch) | |
tree | 62d4678c8d3cbfdd711f5b66e4eeda0627f36113 /tls.c | |
parent | be2e70adfd0793b34e86e2a7463514923d1882cd (diff) |
split out code that is needed only when tls or dtls is used
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@445 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'tls.c')
-rw-r--r-- | tls.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -6,7 +6,6 @@ * copyright notice and this permission notice appear in all copies. */ -#ifdef RADPROT_TLS #include <signal.h> #include <sys/socket.h> #include <netinet/in.h> @@ -27,11 +26,13 @@ #include <pthread.h> #include <openssl/ssl.h> #include <openssl/err.h> -#include "debug.h" #include "list.h" -#include "util.h" #include "radsecproxy.h" +#ifdef RADPROT_TLS +#include "debug.h" +#include "util.h" + static void setprotoopts(struct commonprotoopts *opts); static char **getlistenerargs(); void *tlslistener(void *arg); |