Skip to content

Commit 1b8d3ec

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 <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 1dd859d commit 1b8d3ec

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
@@ -55,6 +55,7 @@ inline void ClientHelloParser::Reset() {
5555
tls_ticket_ = nullptr;
5656
servername_size_ = 0;
5757
servername_ = nullptr;
58+
ocsp_request_ = 0;
5859
}
5960

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

0 commit comments

Comments
 (0)