aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <[email protected]>2014-09-29 21:48:39 +0000
committerWerner Koch <[email protected]>2014-10-02 13:20:35 +0000
commitb3309f997c541d7150827a659bffc38bc9f685fe (patch)
treeea96943a07899a37ea675afe3848c4d975e77c1f
parentRegister DCO for Daniel Kahn Gillmor. (diff)
downloadgpgme-b3309f997c541d7150827a659bffc38bc9f685fe.tar.gz
gpgme-b3309f997c541d7150827a659bffc38bc9f685fe.zip
Use --no-sk-comments, not --no-sk-comment.
-- The --no-sk-comments flag is (or should be) a no-op in modern versions of gnupg, but gpgme should still use its full form rather than the (slightly) abbreviated --no-sk-comment
-rw-r--r--src/engine-gpg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/engine-gpg.c b/src/engine-gpg.c
index 8e182538..30c3bfbe 100644
--- a/src/engine-gpg.c
+++ b/src/engine-gpg.c
@@ -779,7 +779,7 @@ build_argv (engine_gpg_t gpg, const char *pgmname)
argc++;
if (!gpg->cmd.used)
argc++; /* --batch */
- argc += 1; /* --no-sk-comment */
+ argc += 1; /* --no-sk-comments */
argv = calloc (argc + 1, sizeof *argv);
if (!argv)
@@ -864,7 +864,7 @@ build_argv (engine_gpg_t gpg, const char *pgmname)
}
argc++;
}
- argv[argc] = strdup ("--no-sk-comment");
+ argv[argc] = strdup ("--no-sk-comments");
if (!argv[argc])
{
int saved_err = gpg_error_from_syserror ();