summaryrefslogtreecommitdiffstats
path: root/tools/gpg-card.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2020-07-16 06:35:25 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2020-07-17 02:05:26 +0200
commit43000b0434b47a72608b41d67054ba42db21b699 (patch)
treeae69b230eac6b7803e1331b81ea24715f9f7d6b7 /tools/gpg-card.c
parentgpg: Do not close stdout after --export-ssh-key (diff)
downloadgnupg2-43000b0434b47a72608b41d67054ba42db21b699.tar.xz
gnupg2-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 <gniibe@fsij.org>
Diffstat (limited to '')
-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);