aboutsummaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2020-07-16 04:35:25 +0000
committerNIIBE Yutaka <[email protected]>2020-07-17 00:05:26 +0000
commit43000b0434b47a72608b41d67054ba42db21b699 (patch)
treeae69b230eac6b7803e1331b81ea24715f9f7d6b7 /tools/gpg-card.c
parentgpg: Do not close stdout after --export-ssh-key (diff)
downloadgnupg-43000b0434b47a72608b41d67054ba42db21b699.tar.gz
gnupg-43000b0434b47a72608b41d67054ba42db21b699.zip
gpg-card: Fix type of historyname.
* tools/gpg-card.c (interactive_loop): Remove const qualifier. -- Fixes-commit: d70b8769c888f42896ae3ef4972bf82e9b5a0c32 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'tools/gpg-card.c')
-rw-r--r--tools/gpg-card.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c
index 2fcc120fb..7910a48fe 100644
--- a/tools/gpg-card.c
+++ b/tools/gpg-card.c
@@ -3772,7 +3772,7 @@ interactive_loop (void)
card_info_t info = &info_buffer;
char *p;
int i;
- const char *historyname = NULL;
+ char *historyname = NULL;
/* In the interactive mode we do not want to print the program prefix. */
log_set_prefix (NULL, 0);