diff options
author | Aleksander Machniak <alec@alec.pl> | 2018-04-10 16:10:39 +0300 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2018-04-10 16:11:15 +0300 |
commit | 175c9359cb80d6a8cd97e5c2dcff6b2f3969c7f1 (patch) | |
tree | d5e61e22002a3f6b167387f4195658c09c59c599 /plugins | |
parent | c278b8796f35b4efa2b8f62605f29aaf843b93dd (diff) |
Enigma: Enable keypair generation on Internet Explorer 11
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/enigma/enigma.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/enigma/enigma.js b/plugins/enigma/enigma.js index 7cdd022f4..e9a5e395d 100644 --- a/plugins/enigma/enigma.js +++ b/plugins/enigma/enigma.js @@ -114,7 +114,7 @@ rcube_webmail.prototype.enigma_key_create_save = function() // generate keys // use OpenPGP.js if browser supports required features - if (window.openpgp && window.crypto && (window.crypto.getRandomValues || window.crypto.subtle)) { + if (window.openpgp && (window.msCrypto || (window.crypto && (window.crypto.getRandomValues || window.crypto.subtle)))) { lock = this.set_busy(true, 'enigma.keygenerating'); options = { numBits: size, |