Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFedor Indutny <fedor.indutny@gmail.com>2013-04-06 23:26:24 +0400
committerFedor Indutny <fedor.indutny@gmail.com>2013-04-08 15:53:25 +0400
commit21f3c5c3670861436392f30da2033cccbc137309 (patch)
tree2dfe29189af37c9fd6aa747b4f883312531e5d0c /src
parentba0f7b8066cb4dc8cb3cd4931e52aa94af40a709 (diff)
crypto: move write_head in bio's Reset() method
Diffstat (limited to 'src')
-rw-r--r--src/node_crypto_bio.cc1
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);
}