summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2024-12-16 02:19:26 +0100
committerNIIBE Yutaka <gniibe@fsij.org>2024-12-16 02:19:26 +0100
commit893e5e7c6f4c5a8948c272a819ff7b2c7c927f71 (patch)
treee7731ebee38d430adfc520842227b52c7b55e7a4
parentgpg: Fix key generation with existing key from card. (diff)
downloadgnupg2-893e5e7c6f4c5a8948c272a819ff7b2c7c927f71.tar.xz
gnupg2-893e5e7c6f4c5a8948c272a819ff7b2c7c927f71.zip
agent: Clean up for the refactoring.
* agent/call-scd.c (agent_card_pkdecrypt): Remove unused variables. -- Fixes-commit: fe147645d2397dd77b646a253965c5994f360f26 Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--agent/call-scd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/agent/call-scd.c b/agent/call-scd.c
index a5f2c5240..de5d86271 100644
--- a/agent/call-scd.c
+++ b/agent/call-scd.c
@@ -600,8 +600,8 @@ agent_card_pkdecrypt (ctrl_t ctrl,
const unsigned char *indata, size_t indatalen,
char **r_buf, size_t *r_buflen, int *r_padding)
{
- int rc, i;
- char *p, line[ASSUAN_LINELENGTH];
+ int rc;
+ char line[ASSUAN_LINELENGTH];
membuf_t data;
struct inq_needpin_parm_s inqparm;
size_t len;