diff options
Diffstat (limited to 'agent')
-rw-r--r-- | agent/call-scd.c | 2 | ||||
-rw-r--r-- | agent/command.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c index 0fc0d3f00..c58199539 100644 --- a/agent/call-scd.c +++ b/agent/call-scd.c @@ -682,7 +682,7 @@ readkey_status_cb (void *opaque, const char *line) * Here we only need the keyref. We use only the first received * KEYPAIRINFO; it is possible to receive several if there are * two or more active cards with the same key. */ - char *fields[2]; + const char *fields[2]; int nfields; line_buffer = xtrystrdup (line); diff --git a/agent/command.c b/agent/command.c index cb4f22bd6..5073aa700 100644 --- a/agent/command.c +++ b/agent/command.c @@ -2804,7 +2804,7 @@ cmd_keytocard (assuan_context_t ctx, char *line) ctrl_t ctrl = assuan_get_pointer (ctx); int force; gpg_error_t err = 0; - char *argv[5]; + const char *argv[5]; int argc; unsigned char grip[20]; const char *serialno, *timestamp_str, *keyref; @@ -3501,7 +3501,7 @@ cmd_getinfo (assuan_context_t ctx, char *line) { #if GCRYPT_VERSION_NUMBER >= 0x010800 char *buf; - char *fields[5]; + const char *fields[5]; buf = gcry_get_config (0, "rng-type"); if (buf |