projects
/
radsecproxy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Define RS_FREERADIUS_DICT and use it when missing "dictionary" in config.
[radsecproxy.git]
/
lib
/
radsec.c
diff --git
a/lib/radsec.c
b/lib/radsec.c
index
6e68950
..
ae8eda6
100644
(file)
--- a/
lib/radsec.c
+++ b/
lib/radsec.c
@@
-68,8
+68,7
@@
rs_context_init_freeradius_dict (struct rs_context *ctx, const char *dict)
dict = ctx->config->dictionary;
if (dict == NULL)
- return rs_err_ctx_push_fl (ctx, RSE_INVAL, __FILE__, __LINE__,
- "missing dictionary");
+ dict = RS_FREERADIUS_DICT;
dictlen = strlen (dict);
dir = rs_calloc (ctx, 1, dictlen + 1);