Skip to content

Commit 0b5507a

Browse files
bugfix: added initialization.
1 parent d535753 commit 0b5507a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngx_http_lua_ssl_ocsp.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ ngx_http_lua_ffi_ssl_validate_ocsp_response(const u_char *resp,
280280
OCSP_RESPONSE *ocsp = NULL;
281281
OCSP_BASICRESP *basic = NULL;
282282
STACK_OF(X509) *chain = NULL;
283-
ASN1_GENERALIZEDTIME *thisupdate, *nextupdate;
283+
ASN1_GENERALIZEDTIME *thisupdate = NULL, *nextupdate = NULL;
284284

285285
ocsp = d2i_OCSP_RESPONSE(NULL, &resp, resp_len);
286286
if (ocsp == NULL) {

0 commit comments

Comments
 (0)