pass algorithm to the decryptor so we know if our plugin is allowed to run
This commit is contained in:
parent
e4c64c7167
commit
df14825b49
@ -150,7 +150,7 @@ function red_decrypt(alg,hint,text,elem) {
|
|||||||
|
|
||||||
if((red_decryptors.length) && (! dec_text.length)) {
|
if((red_decryptors.length) && (! dec_text.length)) {
|
||||||
for(var i = 0; i < red_decryptors.length; i ++) {
|
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)
|
if(dec_text.length)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user