Index: b/src/crlcache.c =================================================================== --- b/src/crlcache.c +++ b/src/crlcache.c @@ -1338,7 +1338,7 @@ n = cdb_datalen (cdb); if (n != 16) { - log_error (_("WARNING: invalid cache record length for S/N ")); + log_error (_("WARNING: invalid cache record length for S/N 0x")); log_printhex ("", sn, snlen); } else if (opt.verbose) @@ -1347,10 +1347,10 @@ char *tmp = hexify_data (sn, snlen); if (cdb_read (cdb, record, n, cdb_datapos (cdb))) - log_error (_("problem reading cache record for S/N %s: %s\n"), + log_error (_("problem reading cache record for S/N 0x%s: %s\n"), tmp, strerror (errno)); else - log_info (_("S/N %s is not valid; reason=%02X date=%.15s\n"), + log_info (_("S/N 0x%s is not valid; reason=%02X date=%.15s\n"), tmp, *record, record+1); xfree (tmp); } @@ -1361,7 +1361,7 @@ if (opt.verbose) { char *serialno = hexify_data (sn, snlen); - log_info (_("S/N %s is valid, it is not listed in the CRL\n"), + log_info (_("S/N 0x%s is valid, it is not listed in the CRL\n"), serialno ); xfree (serialno); }