aboutsummaryrefslogtreecommitdiffstats
path: root/g10/call-agent.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-04-01 16:12:35 +0000
committerWerner Koch <[email protected]>2019-04-01 16:13:43 +0000
commit3a4534d82682f69788da3cf4a445e38fbaf6b98e (patch)
treed47584d0357759a91919c83964b56aee93a76628 /g10/call-agent.h
parentdirmngr: Better for error code for http status 413. (diff)
downloadgnupg-3a4534d82682f69788da3cf4a445e38fbaf6b98e.tar.gz
gnupg-3a4534d82682f69788da3cf4a445e38fbaf6b98e.zip
gpg: Remove unused arg in a card related function.
* g10/call-agent.c (agent_scd_setattr): Remove unused arg serialno. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/call-agent.h')
-rw-r--r--g10/call-agent.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/g10/call-agent.h b/g10/call-agent.h
index 8619a34f8..4c4fb2d4d 100644
--- a/g10/call-agent.h
+++ b/g10/call-agent.h
@@ -101,9 +101,8 @@ int agent_keytocard (const char *hexgrip, int keyno, int force,
const char *serialno, const char *timestamp);
/* Send a SETATTR command to the SCdaemon. */
-int agent_scd_setattr (const char *name,
- const unsigned char *value, size_t valuelen,
- const char *serialno);
+gpg_error_t agent_scd_setattr (const char *name,
+ const void *value, size_t valuelen);
/* Send a WRITECERT command to the SCdaemon. */
int agent_scd_writecert (const char *certidstr,