joyent/node — pull request #5746 by indutny (2013-06-25 21:33:51+00:00)
Title: crypto: do not move half-filled write head

Might cause write head running over read head, when there were no
allocation and `Commit()` was called. Source of at least one test
failure on windows (`simple/test-https-drain.js`).

/cc @isaacs @tjfountaine @bnoordhuis