#include <time.h>
#include <dpl/foreach.h>
-#include <dpl/log/wrt_log.h>
-#include <dpl/foreach.h>
+#include <dpl/log/log.h>
#include <vcore/OCSP.h>
#include <vcore/OCSPImpl.h>
db_status.end_entity_check = false;
if (CertificateCacheDAO::getOCSPStatus(&db_status)) {
- WrtLogD("Found cache entry for OCSP");
+ LogDebug("Found cache entry for OCSP");
if (now < db_status.next_update_time) {
- WrtLogD("Cache response valid");
+ LogDebug("Cache response valid");
return db_status.ocsp_status;
}
}
db_status.end_entity_check = true;
if (CertificateCacheDAO::getOCSPStatus(&db_status)) {
- WrtLogD("Found cache entry for OCSP");
+ LogDebug("Found cache entry for OCSP");
if (now < db_status.next_update_time) {
- WrtLogD("Cache response valid");
+ LogDebug("Cache response valid");
return db_status.ocsp_status;
}
}
CertificateCollection col;
col.load(db_status->cert_chain);
if (!col.sort()) {
- WrtLogE("Certificate collection does not create chain.");
+ LogError("Certificate collection does not create chain.");
continue;
}
const CertificateCollection &certs, CertificateList* clst)
{
if (NULL == clst) {
- WrtLogE("NULL pointer");
+ LogError("NULL pointer");
return;
}