aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-pgp-context.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-pgp-context.c')
-rw-r--r--camel/camel-pgp-context.c9
1 files changed, 4 insertions, 5 deletions
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;