aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-p15.c
diff options
context:
space:
mode:
Diffstat (limited to 'scd/app-p15.c')
-rw-r--r--scd/app-p15.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/scd/app-p15.c b/scd/app-p15.c
index 0ae01bdba..9ad0d165b 100644
--- a/scd/app-p15.c
+++ b/scd/app-p15.c
@@ -744,7 +744,7 @@ read_ef_odf (app_t app, unsigned short odf_fid)
}
else
{
- log_printhex ("p15: ODF format not supported:", p, buflen);
+ log_printhex (p, buflen, "p15: ODF format not supported:");
xfree (buffer);
return gpg_error (GPG_ERR_INV_OBJ);
}
@@ -799,7 +799,7 @@ read_ef_odf (app_t app, unsigned short odf_fid)
if (n < buflen)
{
log_info ("p15: warning: garbage detected at end of ODF: ");
- log_printhex ("", p, buflen);
+ log_printhex (p, buflen, "");
}
}
@@ -2463,7 +2463,7 @@ read_ef_tokeninfo (app_t app)
{
/* (We use a separate log_info to avoid the "DBG:" prefix.) */
log_info ("p15: serialNumber .: ");
- log_printhex ("", p, objlen);
+ log_printhex (p, objlen, "");
}
p += objlen;
n -= objlen;
@@ -3192,7 +3192,7 @@ micardo_mse (app_t app, unsigned short fid)
if (opt.verbose)
{
log_info (buffer, buflen, "p15: keyD record: ");
- log_printhex ("", buffer, buflen);
+ log_printhex (buffer, buflen, "");
}
p = find_tlv (buffer, buflen, 0x83, &n);
if (p && n == 4 && ((p[2]<<8)|p[3]) == fid)