mirror of https://github.com/nodejs/node.git
crypto: move write_head in bio's Reset() method
parent
798d1772c0
commit
c9850952c9
|
@ -301,6 +301,7 @@ void NodeBIO::Reset() {
|
||||||
|
|
||||||
read_head_ = read_head_->next_;
|
read_head_ = read_head_->next_;
|
||||||
}
|
}
|
||||||
|
write_head_ = read_head_;
|
||||||
assert(length_ == 0);
|
assert(length_ == 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue