From be2e70adfd0793b34e86e2a7463514923d1882cd Mon Sep 17 00:00:00 2001 From: venaas Date: Fri, 19 Dec 2008 14:36:09 +0000 Subject: allowing build with only specific transports git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@444 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- dtls.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dtls.c') diff --git a/dtls.c b/dtls.c index 6ada359..0fdbc3a 100644 --- a/dtls.c +++ b/dtls.c @@ -6,6 +6,7 @@ * copyright notice and this permission notice appear in all copies. */ +#ifdef RADPROT_DTLS #include #include #include @@ -700,3 +701,8 @@ void initextradtls() { if (pthread_create(&cl6th, NULL, udpdtlsclientrd, (void *)&client6_sock)) debugx(1, DBG_ERR, "pthread_create failed"); } +#else +const struct protodefs *dtlsinit(uint8_t h) { + return NULL; +} +#endif -- cgit v1.1