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

pull/5010/head
Fedor Indutny 2013-04-06 23:26:24 +04:00
parent 798d1772c0
commit c9850952c9
1 changed files with 1 additions and 0 deletions

View File

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