Moved log message for unexpected ASN.1 objects to level 2.

This avoids error messages if later builders can successfully decode something.
This commit is contained in:
Tobias Brunner
2012-02-01 18:27:46 +01:00
parent fd1ff46f61
commit e81260d426
+1 -1
View File
@@ -178,7 +178,7 @@ METHOD(asn1_parser_t, iterate, bool,
if (*start_ptr != obj.type && !(this->implicit && this->line == 0))
{
DBG1(DBG_ASN, "L%d - %s: ASN1 tag 0x%02x expected, but is 0x%02x",
DBG2(DBG_ASN, "L%d - %s: ASN1 tag 0x%02x expected, but is 0x%02x",
level, obj.name, obj.type, *start_ptr);
DBG3(DBG_ASN, "%b", start_ptr, (u_int)(blob->ptr - start_ptr));
this->success = FALSE;