diff --git a/src/engine-gpg.c b/src/engine-gpg.c index 22d327e0..3b9a6ff5 100644 --- a/src/engine-gpg.c +++ b/src/engine-gpg.c @@ -875,7 +875,7 @@ build_argv (engine_gpg_t gpg, const char *pgmname) argc++; if (!gpg->cmd.used) argc++; /* --batch */ - argc += 1; /* --no-sk-comments */ + argc += 2; /* --no-sk-comments, --request-origin */ argv = calloc (argc + 1, sizeof *argv); if (!argv)