aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-10-17 08:12:33 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-10-17 08:12:33 +0800
commit4d00a548d044ec2ca1ac200af610ee6b91d6b555 (patch)
treeeb68df61a6285898f07135898a8985ea63f5139e /camel
parent7530d8bb8839302e1d7671d3b610c018ff8bc8ad (diff)
downloadgsoc2013-evolution-4d00a548d044ec2ca1ac200af610ee6b91d6b555.tar
gsoc2013-evolution-4d00a548d044ec2ca1ac200af610ee6b91d6b555.tar.gz
gsoc2013-evolution-4d00a548d044ec2ca1ac200af610ee6b91d6b555.tar.bz2
gsoc2013-evolution-4d00a548d044ec2ca1ac200af610ee6b91d6b555.tar.lz
gsoc2013-evolution-4d00a548d044ec2ca1ac200af610ee6b91d6b555.tar.xz
gsoc2013-evolution-4d00a548d044ec2ca1ac200af610ee6b91d6b555.tar.zst
gsoc2013-evolution-4d00a548d044ec2ca1ac200af610ee6b91d6b555.zip
Rearange the order of the gpg options slightly otherwise it might try to
2001-10-16 Jeffrey Stedfast <fejj@ximian.com> * camel-pgp-context.c (pgp_verify): Rearange the order of the gpg options slightly otherwise it might try to use "--no-tty" as the filename to verify :-) svn path=/trunk/; revision=13714
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/camel-pgp-context.c9
2 files changed, 8 insertions, 5 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 915b355a74..aac9cb55d7 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
2001-10-16 Jeffrey Stedfast <fejj@ximian.com>
+ * camel-pgp-context.c (pgp_verify): Rearange the order of the gpg
+ options slightly otherwise it might try to use "--no-tty" as the
+ filename to verify :-)
+
* camel-object.[c,h]: If CAMEL_DEBUG is defined, print some useful
ref/unref info.
diff --git a/camel/camel-pgp-context.c b/camel/camel-pgp-context.c
index 575b6006ac..d4ed0c0a2c 100644
--- a/camel/camel-pgp-context.c
+++ b/camel/camel-pgp-context.c
@@ -920,16 +920,15 @@ pgp_verify (CamelCipherContext *ctx, CamelCipherHash hash, CamelStream *istream,
argv[i++] = "--verbose";
argv[i++] = "--no-secmem-warning";
argv[i++] = "--no-greeting";
+ argv[i++] = "--no-tty";
+ if (!camel_session_is_online (ctx->session))
+ argv[i++] = "--no-auto-key-retrieve";
+
argv[i++] = "--yes";
argv[i++] = "--batch";
argv[i++] = "--verify";
- argv[i++] = "--no-tty";
-
- if (!camel_session_is_online (ctx->session))
- argv[i++] = "--no-auto-key-retrieve";
-
if (sigstream != NULL)
argv[i++] = sigfile;