summaryrefslogtreecommitdiff
path: root/radsecproxy.c
diff options
context:
space:
mode:
Diffstat (limited to 'radsecproxy.c')
-rw-r--r--radsecproxy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/radsecproxy.c b/radsecproxy.c
index af94af3..c9980e4 100644
--- a/radsecproxy.c
+++ b/radsecproxy.c
@@ -2511,7 +2511,7 @@ void tlsserverrd(struct client *client) {
void *tlsservernew(void *arg) {
int s;
struct sockaddr_storage from;
- size_t fromlen = sizeof(from);
+ socklen_t fromlen = sizeof(from);
struct clsrvconf *conf;
struct list_node *cur = NULL;
SSL *ssl = NULL;
@@ -2582,7 +2582,7 @@ int tlslistener() {
pthread_t tlsserverth;
int s, snew;
struct sockaddr_storage from;
- size_t fromlen = sizeof(from);
+ socklen_t fromlen = sizeof(from);
struct clsrvconf *listenres;
listenres = resolve_hostport('T', options.listentcp, DEFAULT_TLS_PORT);