burn in hell fake storage

This commit is contained in:
Matias Alejo Garcia 2014-09-17 09:42:23 -03:00
commit 8bc1eb15e4
11 changed files with 34 additions and 185 deletions

View file

@ -27,6 +27,7 @@ function Storage(opts) {
var pps = {};
Storage.prototype._getPassphrase = function() {
if (!pps[this.__uniqueid])
throw new Error('NOPASSPHRASE: No passphrase set');