diff options
author | friendica <info@friendica.com> | 2013-11-21 20:23:02 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2013-11-21 20:23:02 -0800 |
commit | df14825b49ce0dd3a4575fcf8772b8d18b2a4852 (patch) | |
tree | 9516dfbc52467f63b86ae8c93fbc0992e9a98fd2 | |
parent | e4c64c7167c9566a01c9382f774f4e9a184ea4e0 (diff) | |
download | volse-hubzilla-df14825b49ce0dd3a4575fcf8772b8d18b2a4852.tar.gz volse-hubzilla-df14825b49ce0dd3a4575fcf8772b8d18b2a4852.tar.bz2 volse-hubzilla-df14825b49ce0dd3a4575fcf8772b8d18b2a4852.zip |
pass algorithm to the decryptor so we know if our plugin is allowed to run
-rw-r--r-- | js/crypto.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/crypto.js b/js/crypto.js index df4c26dfd..a144e03ea 100644 --- a/js/crypto.js +++ b/js/crypto.js @@ -150,7 +150,7 @@ function red_decrypt(alg,hint,text,elem) { if((red_decryptors.length) && (! dec_text.length)) { for(var i = 0; i < red_decryptors.length; i ++) { - dec_text = red_decryptors[i](text,enc_key); + dec_text = red_decryptors[i](alg,text,enc_key); if(dec_text.length) break; } |