Correct typo in error message
authorAlan T. DeKok <aland@freeradius.org>
Mon, 21 Nov 2011 16:47:27 +0000 (17:47 +0100)
committerAlan 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

index 9bffff3..71bdfed 100644 (file)
@@ -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;
                                }