projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e2bd851
)
nits
author
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 19 Nov 2008 03:54:46 +0000
(20:54 -0700)
committer
Michael M Slusarz
<slusarz@curecanti.org>
Wed, 19 Nov 2008 03:54:46 +0000
(20:54 -0700)
imp/lib/Crypt/pgp.php
patch
|
blob
|
history
diff --git
a/imp/lib/Crypt/pgp.php
b/imp/lib/Crypt/pgp.php
index
9711845
..
ef8eef4
100644
(file)
--- a/
imp/lib/Crypt/pgp.php
+++ b/
imp/lib/Crypt/pgp.php
@@
-333,10
+333,10
@@
class IMP_Horde_Crypt_pgp extends Horde_Crypt_pgp
return $public_key;
}
- if (!empty($signature)) {
- $options = array('type' => 'detached-signature', 'signature' => $signature);
- } else {
+ if (empty($signature)) {
$options = array('type' => 'signature');
+ } else {
+ $options = array('type' => 'detached-signature', 'signature' => $signature);
}
$options['pubkey'] = $public_key;