diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2013-04-06 23:26:24 +0400 |
---|---|---|
committer | Fedor Indutny <fedor.indutny@gmail.com> | 2013-04-08 15:53:25 +0400 |
commit | 21f3c5c3670861436392f30da2033cccbc137309 (patch) | |
tree | 2dfe29189af37c9fd6aa747b4f883312531e5d0c /src | |
parent | ba0f7b8066cb4dc8cb3cd4931e52aa94af40a709 (diff) |
crypto: move write_head in bio's Reset() method
Diffstat (limited to 'src')
-rw-r--r-- | src/node_crypto_bio.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/node_crypto_bio.cc b/src/node_crypto_bio.cc index d69eeb8f9b1..52e5e78274b 100644 --- a/src/node_crypto_bio.cc +++ b/src/node_crypto_bio.cc @@ -301,6 +301,7 @@ void NodeBIO::Reset() { read_head_ = read_head_->next_; } + write_head_ = read_head_; assert(length_ == 0); } |