Log most X.509 related messages in new ASN log group.
This commit is contained in:
@@ -507,7 +507,7 @@ static bool parse_basicOCSPResponse(private_x509_ocsp_response_t *this,
|
||||
|
||||
if (version != OCSP_BASIC_RESPONSE_VERSION)
|
||||
{
|
||||
DBG1(DBG_LIB, " ocsp ResponseData version %d not "
|
||||
DBG1(DBG_ASN, " ocsp ResponseData version %d not "
|
||||
"supported", version);
|
||||
goto end;
|
||||
}
|
||||
@@ -516,12 +516,12 @@ static bool parse_basicOCSPResponse(private_x509_ocsp_response_t *this,
|
||||
case BASIC_RESPONSE_ID_BY_NAME:
|
||||
this->responderId = identification_create_from_encoding(
|
||||
ID_DER_ASN1_DN, object);
|
||||
DBG2(DBG_LIB, " '%Y'", this->responderId);
|
||||
DBG2(DBG_ASN, " '%Y'", this->responderId);
|
||||
break;
|
||||
case BASIC_RESPONSE_ID_BY_KEY:
|
||||
this->responderId = identification_create_from_encoding(
|
||||
ID_KEY_ID, object);
|
||||
DBG2(DBG_LIB, " '%Y'", this->responderId);
|
||||
DBG2(DBG_ASN, " '%Y'", this->responderId);
|
||||
break;
|
||||
case BASIC_RESPONSE_PRODUCED_AT:
|
||||
this->producedAt = asn1_to_time(&object, ASN1_GENERALIZEDTIME);
|
||||
@@ -535,7 +535,7 @@ static bool parse_basicOCSPResponse(private_x509_ocsp_response_t *this,
|
||||
break;
|
||||
case BASIC_RESPONSE_CRITICAL:
|
||||
critical = object.len && *object.ptr;
|
||||
DBG2(DBG_LIB, " %s", critical ? "TRUE" : "FALSE");
|
||||
DBG2(DBG_ASN, " %s", critical ? "TRUE" : "FALSE");
|
||||
break;
|
||||
case BASIC_RESPONSE_EXT_VALUE:
|
||||
if (extn_oid == OID_NONCE)
|
||||
|
||||
Reference in New Issue
Block a user