diff options
author | Daniel Bevenius <daniel.bevenius@gmail.com> | 2017-12-11 13:29:58 +0100 |
---|---|---|
committer | Myles Borins <mylesborins@google.com> | 2018-02-12 19:28:28 -0500 |
commit | 4b4e4db1c15900ba2f56375175bb207256fecb34 (patch) | |
tree | 977dcc89505c3861c6df1549aeb59be3b43df0cf | |
parent | b3e625d67a86a66e6a250e856f5ab6075f1a420d (diff) | |
download | node-new-4b4e4db1c15900ba2f56375175bb207256fecb34.tar.gz |
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>
-rw-r--r-- | src/node_crypto_clienthello-inl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_crypto_clienthello-inl.h b/src/node_crypto_clienthello-inl.h index ed89ffa996..7acf9a6c79 100644 --- a/src/node_crypto_clienthello-inl.h +++ b/src/node_crypto_clienthello-inl.h @@ -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, |