mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-15 06:48:10 +08:00
do not utilize radius symbols if radius is disabled
Reported by Ismail Donmez
This commit is contained in:
@@ -35,8 +35,10 @@ void sup_config_init(sec_mod_st *sec)
|
|||||||
{
|
{
|
||||||
if (sec->config->sup_config_type == SUP_CONFIG_FILE) {
|
if (sec->config->sup_config_type == SUP_CONFIG_FILE) {
|
||||||
sec->config_module = &file_sup_config;
|
sec->config_module = &file_sup_config;
|
||||||
|
#ifdef HAVE_RADIUS
|
||||||
} else if (sec->config->sup_config_type == SUP_CONFIG_RADIUS) {
|
} else if (sec->config->sup_config_type == SUP_CONFIG_RADIUS) {
|
||||||
sec->config_module = &radius_sup_config;
|
sec->config_module = &radius_sup_config;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user