projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
798d177
)
crypto: move write_head in bio's Reset() method
author
Fedor Indutny
<fedor.indutny@gmail.com>
Sat, 6 Apr 2013 19:26:24 +0000
(23:26 +0400)
committer
Fedor Indutny
<fedor.indutny@gmail.com>
Wed, 10 Apr 2013 12:55:11 +0000
(16:55 +0400)
src/node_crypto_bio.cc
patch
|
blob
|
history
diff --git
a/src/node_crypto_bio.cc
b/src/node_crypto_bio.cc
index
d69eeb8
..
52e5e78
100644
(file)
--- a/
src/node_crypto_bio.cc
+++ b/
src/node_crypto_bio.cc
@@
-301,6
+301,7
@@
void NodeBIO::Reset() {
read_head_ = read_head_->next_;
}
+ write_head_ = read_head_;
assert(length_ == 0);
}