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:
parent
b34367150e
commit
cb3de880be
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user