aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gpg-card.c')
-rw-r--r--tools/gpg-card.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c
index 9238b4759..ba48905e2 100644
--- a/tools/gpg-card.c
+++ b/tools/gpg-card.c
@@ -2189,11 +2189,11 @@ cmd_writekey (card_info_t info, char *argstr)
{
gpg_error_t err;
int opt_force;
- char *argv[2];
+ const char *argv[2];
int argc;
char *keyref_buffer = NULL;
- char *keyref;
- char *keygrip;
+ const char *keyref;
+ const char *keygrip;
if (!info)
return print_help
@@ -3376,7 +3376,7 @@ cmd_yubikey (card_info_t info, char *argstr)
{
gpg_error_t err, err2;
estream_t fp = opt.interactive? NULL : es_stdout;
- char *words[20];
+ const char *words[20];
int nwords;
if (!info)