Skip to content

Commit 4b4e4db

Browse files
danbevMylesBorins
authored andcommitted
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: #17753 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent b3e625d commit 4b4e4db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_crypto_clienthello-inl.h

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ inline void ClientHelloParser::Reset() {
1919
tls_ticket_ = nullptr;
2020
servername_size_ = 0;
2121
servername_ = nullptr;
22+
ocsp_request_ = 0;
2223
}
2324

2425
inline void ClientHelloParser::Start(ClientHelloParser::OnHelloCb onhello_cb,

0 commit comments

Comments
 (0)