Permalink
Browse files

crypto: move write_head in bio's Reset() method

  • Loading branch information...
1 parent 8e8aef5 commit 7d1610dc0b1f03aa0949a04de59a2dc433d37fc2 @indutny committed Apr 6, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/node_crypto_bio.cc
View
@@ -301,6 +301,7 @@ void NodeBIO::Reset() {
read_head_ = read_head_->next_;
}
+ write_head_ = read_head_;
assert(length_ == 0);
}

0 comments on commit 7d1610d

Please sign in to comment.