crypto: remove use of this._readableState
authorCalvin Metcalf <cmetcalf@appgeo.com>
Mon, 26 Jan 2015 20:39:52 +0000 (15:39 -0500)
committerVladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
Wed, 28 Jan 2015 14:20:54 +0000 (17:20 +0300)
commit90ddb46d522c37d2bc2eb68a6e0c9d52f9fbba42
tree4bf23df1603d266370621934dccff9fac039e6c9
parent45d8d9f8262983d7d6434f4500b4e88b63052cd5
crypto: remove use of this._readableState

Per #445 this removes a reference to this._readableState in hash._flush. It was
used to get the encoding on the readable side to pass to the writable side but
omitting it just causes the stream to handle the encoding issues.

PR-URL: https://github.com/iojs/io.js/pull/610
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
Reviewed-By: Fedor Indutny <fedor.indutny@gmail.com>
Reviewed-By: Vladimir Kurchatkin <vladimir.kurchatkin@gmail.com>
lib/crypto.js