mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
b3e625d67a
commit
4b4e4db1c1
1 file changed
+1
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user