joyent/node — pull request #6596 by indutny (2013-11-27 20:14:33+00:00)
Title: crypto: fix moving read head

Fix various possible stalls of read head. I.e. try moving it after every
write head update.

NOTE: This is actually backported from `bud`.

/cc @bnoordhuis