Skip to content

Commit

Permalink
Enigma: Fix handling of messages with nested PGP encrypted parts (#5634)
Browse files Browse the repository at this point in the history
  • Loading branch information
alecpl committed Feb 13, 2017
1 parent 4bc337c commit 49d24e9
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,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 handling of messages with nested PGP encrypted parts (#5634)
- 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
Expand Down
5 changes: 0 additions & 5 deletions plugins/enigma/lib/enigma_engine.php
Original file line number Diff line number Diff line change
Expand Up @@ -404,11 +404,6 @@ function parse_plain(&$p, $body = null)
{
$part = $p['structure'];

// exit, if we're already inside a decrypted message
if (in_array($part->mime_id, $this->encrypted_parts)) {
return;
}

// Get message body from IMAP server
if ($body === null) {
$body = $this->get_part_body($p['object'], $part);
Expand Down

0 comments on commit 49d24e9

Please sign in to comment.