Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17373 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -562,7 +562,7 @@ hx509_revoke_verify(hx509_context context,
|
|||||||
/* Should force a refetch, but can we ? */;
|
/* Should force a refetch, but can we ? */;
|
||||||
|
|
||||||
if (expiration) {
|
if (expiration) {
|
||||||
if (*ocsp->ocsp.tbsResponseData.responses.val[i])
|
if (*ocsp->ocsp.tbsResponseData.responses.val[i].nextUpdate)
|
||||||
*expiration = *ocsp->ocsp.tbsResponseData.responses.val[i].nextUpdate;
|
*expiration = *ocsp->ocsp.tbsResponseData.responses.val[i].nextUpdate;
|
||||||
else
|
else
|
||||||
*expiration = now + context->ocsp_time_diff;
|
*expiration = now + context->ocsp_time_diff;
|
||||||
@@ -632,7 +632,7 @@ hx509_revoke_verify(hx509_context context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (expiration)
|
if (expiration)
|
||||||
*expiration = *crl->tbsCertList.nextUpdate;
|
*expiration = _hx509_Time2time_t(crl->crl.tbsCertList.nextUpdate);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user