diff options
| -rw-r--r-- | lib/libtinyrad/lconf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libtinyrad/lconf.c b/lib/libtinyrad/lconf.c index b178b8f..55f4709 100644 --- a/lib/libtinyrad/lconf.c +++ b/lib/libtinyrad/lconf.c | |||
| @@ -340,14 +340,14 @@ tinyrad_conf_opt( | |||
| 340 | return(TRAD_SUCCESS); | 340 | return(TRAD_SUCCESS); |
| 341 | }; | 341 | }; |
| 342 | 342 | ||
| 343 | if (!(strcasecmp(name, "secret"))) | 343 | if (!(strcasecmp(name, "secret"))) |
| 344 | { | 344 | { |
| 345 | if ( (!(tr)) || ((tr->secret)) || (!(value)) ) | 345 | if ( (!(tr)) || ((tr->secret)) || (!(value)) ) |
| 346 | return(TRAD_SUCCESS); | 346 | return(TRAD_SUCCESS); |
| 347 | return(tinyrad_set_option(tr, TRAD_OPT_SECRET_FILE, value)); | 347 | return(tinyrad_set_option(tr, TRAD_OPT_SECRET_FILE, value)); |
| 348 | }; | 348 | }; |
| 349 | 349 | ||
| 350 | if (!(strcasecmp(name, "secret_file"))) | 350 | if (!(strcasecmp(name, "secret_file"))) |
| 351 | { | 351 | { |
| 352 | if ( (!(tr)) || ((tr->secret)) || (!(value)) ) | 352 | if ( (!(tr)) || ((tr->secret)) || (!(value)) ) |
| 353 | return(TRAD_SUCCESS); | 353 | return(TRAD_SUCCESS); |
