diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2018-08-21 11:15:12 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2018-08-22 11:39:31 +0200 |
commit | 37f8a34d3eacb3793476b202442d8a94ec47aa06 (patch) | |
tree | 96512a9a319838097da1d8cbdec79eccf13c5d35 /src/cac.c | |
parent | b6e3ecadd87890d6840904eb83427a9097151637 (diff) |
hex_dump: Remove unused arguments
hex_dump() callers can theoretically provide the destination buffer
for the hexdump'ed string, but nothing in libcacard uses that feature.
This commit removes it.
Signed-off-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'src/cac.c')
-rw-r--r-- | src/cac.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -964,7 +964,7 @@ cac_new_pki_applet_private(int i, const unsigned char *cert, goto failure; } g_debug("%s: applet_private->tag_buffer = %s", __func__, - hex_dump(applet_private->tag_buffer, applet_private->tag_buffer_len, NULL, 0)); + hex_dump(applet_private->tag_buffer, applet_private->tag_buffer_len)); /* Value buffer */ /* Ex: @@ -981,7 +981,7 @@ cac_new_pki_applet_private(int i, const unsigned char *cert, goto failure; } g_debug("%s: applet_private->val_buffer = %s", __func__, - hex_dump(applet_private->val_buffer, applet_private->val_buffer_len, NULL, 0)); + hex_dump(applet_private->val_buffer, applet_private->val_buffer_len)); /* Inject Object ID */ object_id[1] = i; @@ -1681,7 +1681,7 @@ cac_new_ccc_applet_private(int cert_count) if (applet_private->tag_buffer_len == 0) goto failure; g_debug("%s: applet_private->tag_buffer = %s", __func__, - hex_dump(applet_private->tag_buffer, applet_private->tag_buffer_len, NULL, 0)); + hex_dump(applet_private->tag_buffer, applet_private->tag_buffer_len)); /* Value buffer */ /* Ex: @@ -1723,7 +1723,7 @@ cac_new_ccc_applet_private(int cert_count) if (applet_private->val_buffer_len == 0) goto failure; g_debug("%s: applet_private->val_buffer = %s", __func__, - hex_dump(applet_private->val_buffer, applet_private->val_buffer_len, NULL, 0)); + hex_dump(applet_private->val_buffer, applet_private->val_buffer_len)); /* Inject Object ID */ tv_object[0].value.value = object_id; |