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

This commit is contained in:
Fedor Indutny 2013-04-06 23:26:24 +04:00
parent ba0f7b8066
commit 21f3c5c367

View File

@ -301,6 +301,7 @@ void NodeBIO::Reset() {
read_head_ = read_head_->next_;
}
write_head_ = read_head_;
assert(length_ == 0);
}