crypto: move write_head in bio's Reset() method
This commit is contained in:
parent
ba0f7b8066
commit
21f3c5c367
@ -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…
x
Reference in New Issue
Block a user