Skip to content

Commit

Permalink
Enigma: Fix missing require statement for Crypt_GPG_KeyGenerator (#5641)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Feb 13, 2017
1 parent 4475037 commit 4bc337c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CHANGELOG Roundcube Webmail
- Managesieve: Fix handling of scripts with nested rules (#5540)
- Fix variable substitution in ldap host for some use-cases, e.g. new_user_identity (#5544)
- Enigma: Fix PHP fatal error when decrypting a message with invalid signature (#5555)
- Enigma: Fix missing require statement for Crypt_GPG_KeyGenerator (#5641)
- Fix adding images to new identity signatures
- Fix rsync error handling in installto.sh script (#5562)
- Fix some advanced search issues with multiple addressbooks (#5572)
Expand Down
2 changes: 2 additions & 0 deletions plugins/enigma/lib/enigma_driver_gnupg.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,8 @@ public function get_key($keyid)
*/
public function gen_key($data)
{
require_once 'Crypt/GPG/KeyGenerator.php';

try {
$debug = $this->rc->config->get('enigma_debug');
$keygen = new Crypt_GPG_KeyGenerator(array(
Expand Down

0 comments on commit 4bc337c

Please sign in to comment.