From 4b4e4db1c15900ba2f56375175bb207256fecb34 Mon Sep 17 00:00:00 2001 From: Daniel Bevenius Date: Mon, 11 Dec 2017 13:29:58 +0100 Subject: [PATCH] crypto: add ocsp_request ClientHelloParser::Reset I noticed that ocsp_request is not being reset in ClientHelloParser::Reset. I've not been able to figure out the the reason for this and wanted to bring this up just in case this was overlooked and should be reset. PR-URL: https://github.com/nodejs/node/pull/17753 Reviewed-By: Anna Henningsen Reviewed-By: James M Snell --- src/node_crypto_clienthello-inl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/node_crypto_clienthello-inl.h b/src/node_crypto_clienthello-inl.h index ed89ffa99666b2..7acf9a6c791250 100644 --- a/src/node_crypto_clienthello-inl.h +++ b/src/node_crypto_clienthello-inl.h @@ -19,6 +19,7 @@ inline void ClientHelloParser::Reset() { tls_ticket_ = nullptr; servername_size_ = 0; servername_ = nullptr; + ocsp_request_ = 0; } inline void ClientHelloParser::Start(ClientHelloParser::OnHelloCb onhello_cb,