projects
/
freeradius.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
19f3d74
)
Correct typo in error message
author
Alan T. DeKok
<aland@freeradius.org>
Mon, 21 Nov 2011 16:47:27 +0000
(17:47 +0100)
committer
Alan T. DeKok
<aland@freeradius.org>
Mon, 21 Nov 2011 16:48:07 +0000
(17:48 +0100)
ascend secret is "encrypt=3", not "encrypt=2"
src/lib/dict.c
patch
|
blob
|
history
diff --git
a/src/lib/dict.c
b/src/lib/dict.c
index
9bffff3
..
71bdfed
100644
(file)
--- a/
src/lib/dict.c
+++ b/
src/lib/dict.c
@@
-1312,7
+1312,7
@@
static int process_attribute(const char* fn, const int line,
if ((flags.encrypt == FLAG_ENCRYPT_ASCEND_SECRET) &&
(type != PW_TYPE_STRING)) {
- fr_strerror_printf( "dict_init: %s[%d] Only \"string\" types can have the \"encrypt=
2
\" flag set.",
+ fr_strerror_printf( "dict_init: %s[%d] Only \"string\" types can have the \"encrypt=
3
\" flag set.",
fn, line);
return -1;
}