| 241 | |
| 242 | |
| 243 | static int cfg_validate(void) |
| 244 | { |
| 245 | /* if auth API already loaded, it is fine */ |
| 246 | if (auth_api.pre_auth) |
| 247 | return 1; |
| 248 | |
| 249 | if (is_script_func_used("aaa_www_authorize", -1) || |
| 250 | is_script_func_used("aaa_proxy_authorize", -1) ) { |
| 251 | LM_ERR("aaa_xxx_authorize() was found, but module started without " |
| 252 | "auth support/binding, better restart\n"); |
| 253 | return 0; |
| 254 | } |
| 255 | |
| 256 | return 0; |
| 257 | } |
nothing calls this directly
no test coverage detected