Skip to content

Commit c985095

Browse files
committed
crypto: move write_head in bio's Reset() method
1 parent 798d177 commit c985095

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/node_crypto_bio.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,7 @@ void NodeBIO::Reset() {
301301

302302
read_head_ = read_head_->next_;
303303
}
304+
write_head_ = read_head_;
304305
assert(length_ == 0);
305306
}
306307

0 commit comments

Comments
 (0)