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 2017-12-11 13:29:58 +01:00 committed by Anna Henningsen
parent b34367150e
commit cb3de880be
No known key found for this signature in database
GPG Key ID: 9C63F3A6CD2AD8F9

View File

@ -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,