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-10 16:55:11 +0400 |
commit | c9850952c9902cd213a9833efaf7294c3d670b87 (patch) | |
tree | ac9c1d89467ad207dd7775c0afd13cbe10ad4aac /src/node_crypto_bio.cc | |
parent | 798d1772c09c718b6c9d350dd03d0461155c725a (diff) | |
download | android-node-v8-c9850952c9902cd213a9833efaf7294c3d670b87.tar.gz android-node-v8-c9850952c9902cd213a9833efaf7294c3d670b87.tar.bz2 android-node-v8-c9850952c9902cd213a9833efaf7294c3d670b87.zip |
crypto: move write_head in bio's Reset() method
Diffstat (limited to 'src/node_crypto_bio.cc')
-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 d69eeb8f9b..52e5e78274 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); } |