From df14825b49ce0dd3a4575fcf8772b8d18b2a4852 Mon Sep 17 00:00:00 2001 From: friendica Date: Thu, 21 Nov 2013 20:23:02 -0800 Subject: pass algorithm to the decryptor so we know if our plugin is allowed to run --- js/crypto.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/crypto.js') 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; } -- cgit v1.2.3