summaryrefslogtreecommitdiff
path: root/src/certs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/certs.cpp')
-rw-r--r--src/certs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/certs.cpp b/src/certs.cpp
index a4968d9..66e1648 100644
--- a/src/certs.cpp
+++ b/src/certs.cpp
@@ -197,7 +197,7 @@ Certs::ocsp_response_t Certs::check_ocsp_chain (const chain_t &chain)
return Certs::ocsp_response_t::OCSP_CERT_ERROR;
}
- int status;
+ int status = CKM_API_OCSP_STATUS_UNKNOWN;
int ret = m_ckm->ocspCheck(vect_ckm_chain, status);
if (ret != CKM_API_SUCCESS) {
LogError("CKM ckeck OCSP returned " << ret);