diff options
author | Jakub Jelen <jjelen@redhat.com> | 2019-03-28 17:18:13 +0100 |
---|---|---|
committer | Jakub Jelen <jjelen@redhat.com> | 2019-07-04 15:26:19 +0200 |
commit | 03bdafa0fc209584eb1ff2dc21aea1f0c7491bfd (patch) | |
tree | 28b7ef1e3c5955373ee51e6cb8f08fa05bd3a3d2 /src | |
parent | 4bfb3427f2e041a3cb1b89e8685d880da1bf9291 (diff) |
cac-aca: Get rid of unused arguments in internal functions
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/cac-aca.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/cac-aca.c b/src/cac-aca.c index ecf582d..9e305a8 100644 --- a/src/cac-aca.c +++ b/src/cac-aca.c @@ -1046,7 +1046,7 @@ cac_aca_get_properties(size_t *properties_len) * KeyIdOrReference */ static VCardResponse * -cac_aca_get_acr_response_extended(VCard *card, int Le, unsigned char *acrid) +cac_aca_get_acr_response_extended(VCard *card, int Le) { size_t buffer_len; unsigned char *buffer = NULL, *p; @@ -1139,7 +1139,7 @@ cac_aca_get_acr_response(VCard *card, int Le, unsigned char *acrid, int format) if (format == CAC_FORMAT_SIMPLETLV) { return cac_aca_get_acr_response_simpletlv(card, Le, acrid); } else { - return cac_aca_get_acr_response_extended(card, Le, acrid); + return cac_aca_get_acr_response_extended(card, Le); } } @@ -1242,10 +1242,7 @@ failure: */ static VCardResponse * cac_aca_get_applet_acr_response_extended(VCard *card, int Le, - unsigned int pki_applets, - unsigned char *aid, - unsigned int aid_len, - unsigned char *coid) + unsigned int pki_applets) { size_t buffer_len, i, j, plen; unsigned char *buffer = NULL, *p; @@ -1309,7 +1306,7 @@ cac_aca_get_applet_acr_response(VCard *card, int Le, unsigned int pki_applets, pki_applets, aid, aid_len, coid); } else { return cac_aca_get_applet_acr_response_extended(card, Le, - pki_applets, aid, aid_len, coid); + pki_applets); } } |