From ecf7685a0cf0071ad54071ba18238d900d8075e0 Mon Sep 17 00:00:00 2001 From: venaas Date: Fri, 1 Jun 2007 09:56:41 +0000 Subject: completely changed TLS configuration git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@118 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- radsecproxy.h | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'radsecproxy.h') 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]) -- cgit v1.1