From 5b4e46338cac764fcdbb4500d9361482ebeaa411 Mon Sep 17 00:00:00 2001 From: "Alan M. Carroll" Date: Mon, 1 May 2023 14:44:53 -0500 Subject: [PATCH] OCSP: Fix unitialized variable error. --- iocore/net/OCSPStapling.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iocore/net/OCSPStapling.cc b/iocore/net/OCSPStapling.cc index 11dd1dc9166..2d4327db774 100644 --- a/iocore/net/OCSPStapling.cc +++ b/iocore/net/OCSPStapling.cc @@ -937,7 +937,7 @@ stapling_get_cert_info(SSL_CTX *ctx) static int stapling_check_response(certinfo *cinf, TS_OCSP_RESPONSE *rsp) { - int status, reason; + int status = TS_OCSP_CERTSTATUS_UNKNOWN, reason; TS_OCSP_BASICRESP *bs = nullptr; ASN1_GENERALIZEDTIME *rev, *thisupd, *nextupd; int response_status = ASN1_ENUMERATED_get(rsp->responseStatus);