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 <anna@addaleax.net>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Daniel Bevenius authored and Myles Borins committed 2018-02-12 19:28:28 -05:00
1 parent b3e625d67a
commit 4b4e4db1c1
1 file changed
+1
+1
View File
@@ -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,