From ffd816569aae7c7b97787529ac6d1411eaa9863c 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 5aff1816b2f73e..da906cbb30522d 100644 --- a/src/node_crypto_clienthello-inl.h +++ b/src/node_crypto_clienthello-inl.h @@ -55,6 +55,7 @@ inline void ClientHelloParser::Reset() { tls_ticket_ = nullptr; servername_size_ = 0; servername_ = nullptr; + ocsp_request_ = 0; } inline void ClientHelloParser::Start(ClientHelloParser::OnHelloCb onhello_cb,