Unknown value for tls
field for server configuration in pgagroal.conf
#459
Labels
bug
Something isn't working
tls
field for server configuration in pgagroal.conf
#459
Bug Description
For the configuration
Warning is emitted :-
"Unknown key <tls> with value <on> in section [primry] (line %d of file <17>)"
Possible reasons
In
_apply_main_configuration
function,unknown
is well defined.so for
primary
sectionthe first call to
key_in_section
will return false but will makeunknown = true
because inkey_in_section
function (for the first call) --global will be true so code will go to else block and since
unknown
will always be true (well-defined),*unknown
will be set true.Solution
The last argument of
key_in_section
function should be NULL whereglobal
is true i.e. if the section is either[pgagroal]
or[pgagroal-vault]
The text was updated successfully, but these errors were encountered: