Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Commit 21f3c5c

Browse files
committed
crypto: move write_head in bio's Reset() method
1 parent ba0f7b8 commit 21f3c5c

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)