]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
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:47:27 +0000 (17:47 +0100)
ascend secret is "encrypt=3", not "encrypt=2"

src/lib/dict.c

index fa7dae4ae8fd621ae25fde3ad1fae63b6ee54ed6..d61efd084d09f930d6d67a7526aafab5edb909b7 100644 (file)
@@ -927,7 +927,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;
                                }