increased debug level for errors to DBG1
authorAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 12 Sep 2007 06:56:59 +0000 (06:56 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Wed, 12 Sep 2007 06:56:59 +0000 (06:56 -0000)
src/libstrongswan/asn1/asn1.c

index 8cf0358..2b811cc 100644 (file)
@@ -428,7 +428,7 @@ bool extract_object(asn1Object_t const *objects, u_int *objectID, chunk_t *objec
        
        if (blob->len < 2)
        {
-               DBG2("L%d - %s:  ASN.1 object smaller than 2 octets", 
+               DBG1("L%d - %s:  ASN.1 object smaller than 2 octets", 
                                        *level, obj.name);
                return FALSE;
        }
@@ -437,7 +437,7 @@ bool extract_object(asn1Object_t const *objects, u_int *objectID, chunk_t *objec
        
        if (blob1->len == ASN1_INVALID_LENGTH || blob->len < blob1->len)
        {
-               DBG2("L%d - %s:  length of ASN.1 object invalid or too large", 
+               DBG1("L%d - %s:  length of ASN.1 object invalid or too large", 
                                        *level, obj.name);
                return FALSE;
        }