2004-08-17 Marcus Brinkmann <marcus@g10code.de>

* rungpg.c (build_argv): Use --no-sk-comment, not --no-comment.
This commit is contained in:
Marcus Brinkmann 2004-08-17 21:16:12 +00:00
parent 6d65ae9632
commit 8802eb4240
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2004-08-17 Marcus Brinkmann <marcus@g10code.de>
* rungpg.c (build_argv): Use --no-sk-comment, not --no-comment.
2004-06-23 Marcus Brinkmann <marcus@g10code.de> 2004-06-23 Marcus Brinkmann <marcus@g10code.de>
* key.c (_gpgme_key_append_name): Make sure tail points to the * key.c (_gpgme_key_append_name): Make sure tail points to the

View File

@ -566,7 +566,7 @@ build_argv (engine_gpg_t gpg)
argc++; argc++;
if (!gpg->cmd.used) if (!gpg->cmd.used)
argc++; /* --batch */ argc++; /* --batch */
argc += 1; /* --no-comment */ argc += 1; /* --no-sk-comment */
argv = calloc (argc + 1, sizeof *argv); argv = calloc (argc + 1, sizeof *argv);
if (!argv) if (!argv)
@ -625,7 +625,7 @@ build_argv (engine_gpg_t gpg)
} }
argc++; argc++;
} }
argv[argc] = strdup ("--no-comment"); argv[argc] = strdup ("--no-sk-comment");
if (!argv[argc]) if (!argv[argc])
{ {
int saved_errno = errno; int saved_errno = errno;