Skip to content

Commit

Permalink
[jan] Fix using non-deprecated Content-Type for encrypted messages (B…
Browse files Browse the repository at this point in the history
…ug #13659).
  • Loading branch information
yunosh committed Nov 3, 2014
1 parent aa028bc commit 2ac3886
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion framework/Crypt/lib/Horde/Crypt/Smime.php
Expand Up @@ -287,7 +287,7 @@ protected function _encryptMessage($text, $params)
if (openssl_pkcs7_encrypt($input, $output, $params['pubkey'], array(), 0, $val)) {
$result = file_get_contents($output);
if (!empty($result)) {
return $this->_fixContentType($result, 'encrypt');
return $this->_fixContentType($result, 'message');
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions framework/Crypt/package.xml
Expand Up @@ -27,7 +27,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Fix using non-deprecated Content-Type for encrypted messages (Bug #13659).
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -1037,7 +1037,7 @@ Initial release as a PEAR package
<date>2014-10-21</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [jan] Fix using non-deprecated Content-Type for encrypted messages (Bug #13659).
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 2ac3886

Please sign in to comment.