summaryrefslogtreecommitdiff
path: root/tlscommon.h
diff options
context:
space:
mode:
authorvenaas <venaas>2008-12-22 10:18:35 +0000
committervenaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2008-12-22 10:18:35 +0000
commit6068df237753e20c504c954504858585d5105a46 (patch)
tree62d4678c8d3cbfdd711f5b66e4eeda0627f36113 /tlscommon.h
parentbe2e70adfd0793b34e86e2a7463514923d1882cd (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 'tlscommon.h')
-rw-r--r--tlscommon.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/tlscommon.h b/tlscommon.h
new file mode 100644
index 0000000..2b7a5e4
--- /dev/null
+++ b/tlscommon.h
@@ -0,0 +1,13 @@
+/*
+ * Copyright (C) 2006-2008 Stig Venaas <venaas@uninett.no>
+ *
+ * Permission to use, copy, modify, and distribute this software for any
+ * purpose with or without fee is hereby granted, provided that the above
+ * copyright notice and this permission notice appear in all copies.
+ */
+
+#if defined(RADPROT_TLS) || defined(RADPROT_DTLS)
+struct tls *tlsgettls(char *alt1, char *alt2);
+SSL_CTX *tlsgetctx(uint8_t type, struct tls *t);
+int conftls_cb(struct gconffile **cf, void *arg, char *block, char *opt, char *val);
+#endif