summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index 1077496..6915b2a 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -44,11 +44,6 @@
#define CONF_CBK 2
struct options {
- char *tlscacertificatefile;
- char *tlscacertificatepath;
- char *tlscertificatefile;
- char *tlscertificatekeyfile;
- char *tlscertificatekeypassword;
char *listenudp;
char *listentcp;
char *logdestination;
@@ -87,6 +82,7 @@ struct peer {
char *port;
char *secret;
SSL *ssl;
+ SSL_CTX *ssl_ctx;
struct addrinfo *addrinfo;
};
@@ -117,6 +113,12 @@ struct realm {
struct server *server;
};
+struct tls {
+ char *name;
+ SSL_CTX *ctx;
+ int count;
+};
+
#define RADLEN(x) ntohs(((uint16_t *)(x))[1])
#define ATTRTYPE(x) ((x)[0])