diff options
author | venaas <venaas> | 2007-06-01 09:56:41 +0000 |
---|---|---|
committer | venaas <venaas@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2007-06-01 09:56:41 +0000 |
commit | ecf7685a0cf0071ad54071ba18238d900d8075e0 (patch) | |
tree | 36a8bada2dfa26341179b13d4f4665b15857814a /radsecproxy.h | |
parent | 305e2f3efd0b925ffc7a24aa20c6fecdff0dcbed (diff) |
completely changed TLS configuration
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/trunk@118 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'radsecproxy.h')
-rw-r--r-- | radsecproxy.h | 12 |
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]) |