summaryrefslogtreecommitdiff
path: root/radsecproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.h')
-rw-r--r--radsecproxy.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/radsecproxy.h b/radsecproxy.h
index c6b2b19..d89b1c9 100644
--- a/radsecproxy.h
+++ b/radsecproxy.h
@@ -79,25 +79,26 @@ struct peer {
char *host;
char *port;
char *secret;
- SSL *ssl;
+ uint8_t statusserver;
SSL_CTX *ssl_ctx;
struct addrinfo *addrinfo;
};
struct client {
- struct peer peer;
+ struct peer *peer;
+ SSL *ssl;
struct replyq *replyq;
};
struct server {
- struct peer peer;
+ struct peer *peer;
int sock;
+ SSL *ssl;
pthread_mutex_t lock;
pthread_t clientth;
struct timeval lastconnecttry;
uint8_t connectionok;
int nextid;
- uint8_t statusserver;
struct request *requests;
uint8_t newrq;
pthread_mutex_t newrq_mutex;