summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/config.c b/src/config.c
index c8c9d80..f642aa6 100644
--- a/src/config.c
+++ b/src/config.c
@@ -107,6 +107,8 @@ void *processline(char *s) {
pc.clientwritetimeout = atoi(value);
else if (!strcmp(name,"sslclienthellotimeout") )
pc.sslclhellotimeout = atoi(value);
+ else if (!strcmp(name,"authrequired") )
+ pc.authrequired = strcmp(value,"yes") ? 0 : 1;
else if (!strcmp(name,"acceptencryptedconnection") )
pc.acceptencryptedconnection = strcmp(value,"yes") ? 0 : 1;
else if (!strcmp(name,"acceptunencryptedconnection") )