diff options
Diffstat (limited to 'src/pluto/ocsp.c')
-rw-r--r-- | src/pluto/ocsp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pluto/ocsp.c b/src/pluto/ocsp.c index bb9242bdc..70621f843 100644 --- a/src/pluto/ocsp.c +++ b/src/pluto/ocsp.c @@ -112,7 +112,7 @@ const single_response_t empty_single_response = { { NULL, 0 } , /* serial_number */ CERT_UNDEFINED , /* status */ UNDEFINED_TIME , /* revocationTime */ - REASON_UNSPECIFIED, /* revocationReason */ + CRL_UNSPECIFIED , /* revocationReason */ UNDEFINED_TIME , /* this_update */ UNDEFINED_TIME /* next_update */ }; @@ -425,7 +425,7 @@ cert_status_t verify_by_ocsp(const x509cert_t *cert, time_t *until, time_t nextUpdate = 0; *revocationDate = UNDEFINED_TIME; - *revocationReason = REASON_UNSPECIFIED; + *revocationReason = CRL_UNSPECIFIED; /* is an ocsp location defined? */ if (!build_ocsp_location(cert, &location)) @@ -1292,7 +1292,7 @@ static bool parse_ocsp_single_response(chunk_t blob, int level0, break; case SINGLE_RESPONSE_CERT_STATUS_CRL_REASON: sres->revocationReason = (object.len == 1) - ? *object.ptr : REASON_UNSPECIFIED; + ? *object.ptr : CRL_UNSPECIFIED; break; case SINGLE_RESPONSE_CERT_STATUS_UNKNOWN: sres->status = CERT_UNKNOWN; |