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
This commit is contained in:
parent
7273ab387a
commit
b3309f997c
@ -779,7 +779,7 @@ build_argv (engine_gpg_t gpg, const char *pgmname)
|
|||||||
argc++;
|
argc++;
|
||||||
if (!gpg->cmd.used)
|
if (!gpg->cmd.used)
|
||||||
argc++; /* --batch */
|
argc++; /* --batch */
|
||||||
argc += 1; /* --no-sk-comment */
|
argc += 1; /* --no-sk-comments */
|
||||||
|
|
||||||
argv = calloc (argc + 1, sizeof *argv);
|
argv = calloc (argc + 1, sizeof *argv);
|
||||||
if (!argv)
|
if (!argv)
|
||||||
@ -864,7 +864,7 @@ build_argv (engine_gpg_t gpg, const char *pgmname)
|
|||||||
}
|
}
|
||||||
argc++;
|
argc++;
|
||||||
}
|
}
|
||||||
argv[argc] = strdup ("--no-sk-comment");
|
argv[argc] = strdup ("--no-sk-comments");
|
||||||
if (!argv[argc])
|
if (!argv[argc])
|
||||||
{
|
{
|
||||||
int saved_err = gpg_error_from_syserror ();
|
int saved_err = gpg_error_from_syserror ();
|
||||||
|
Loading…
Reference in New Issue
Block a user