asn1: Fix build with DEBUG_LEVEL < 2
This commit is contained in:
@@ -548,9 +548,10 @@ void asn1_debug_simple_object(chunk_t object, asn1_t type, bool private)
|
||||
case ASN1_UTCTIME:
|
||||
case ASN1_GENERALIZEDTIME:
|
||||
{
|
||||
#if DEBUG_LEVEL >= 2
|
||||
time_t time = asn1_to_time(&object, type);
|
||||
|
||||
DBG2(DBG_ASN, " '%T'", &time, TRUE);
|
||||
#endif
|
||||
}
|
||||
return;
|
||||
default:
|
||||
|
||||
@@ -89,7 +89,7 @@ METHOD(asn1_parser_t, iterate, bool,
|
||||
{
|
||||
chunk_t *blob, *blob1, blob_ori;
|
||||
u_char *start_ptr;
|
||||
u_int level;
|
||||
u_int level DBG_UNUSED;
|
||||
asn1Object_t obj;
|
||||
|
||||
*object = chunk_empty;
|
||||
|
||||
Reference in New Issue
Block a user