changed prefix of crl_reason_t values from CRL_ to CRL_REASON_
This commit is contained in:
@@ -238,7 +238,7 @@ static bool parse(private_x509_crl_t *this)
|
||||
revoked = malloc_thing(revoked_t);
|
||||
revoked->serial = userCertificate;
|
||||
revoked->date = asn1_parse_time(object, level);
|
||||
revoked->reason = CRL_UNSPECIFIED;
|
||||
revoked->reason = CRL_REASON_UNSPECIFIED;
|
||||
this->revoked->insert_last(this->revoked, (void *)revoked);
|
||||
break;
|
||||
case CRL_OBJ_CRL_ENTRY_EXTN_ID:
|
||||
|
||||
@@ -320,7 +320,7 @@ static bool parse_singleResponse(private_x509_ocsp_response_t *this,
|
||||
response->serialNumber = chunk_empty;
|
||||
response->status = VALIDATION_FAILED;
|
||||
response->revocationTime = 0;
|
||||
response->revocationReason = CRL_UNSPECIFIED;
|
||||
response->revocationReason = CRL_REASON_UNSPECIFIED;
|
||||
response->thisUpdate = UNDEFINED_TIME;
|
||||
/* if nextUpdate is missing, we give it a short lifetime */
|
||||
response->nextUpdate = this->producedAt + OCSP_DEFAULT_LIFETIME;
|
||||
|
||||
Reference in New Issue
Block a user