sm: Minor debug output format changes.

--
This commit is contained in:
Werner Koch 2020-04-23 10:00:18 +02:00
parent 95d83cf906
commit c03f80dc19
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
3 changed files with 3 additions and 3 deletions

View File

@ -533,7 +533,7 @@ gpgsm_agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
buf = get_membuf (&data, &len);
if (!buf)
return gpg_error (GPG_ERR_ENOMEM);
assert (len); /* (we forced Nul termination.) */
log_assert (len); /* (we forced Nul termination.) */
if (*buf == '(')
{

View File

@ -196,7 +196,7 @@ gpgsm_get_keygrip (ksba_cert_t cert, unsigned char *array)
return NULL;
}
if (DBG_X509)
log_printhex (array, 20, "keygrip=");
log_printhex (array, 20, "keygrip:");
return array;
}

View File

@ -882,7 +882,7 @@ parse_p12 (ctrl_t ctrl, ksba_reader_t reader, struct stats_s *stats)
log_error ("can't calculate keygrip\n");
goto leave;
}
log_printhex (grip, 20, "keygrip=");
log_printhex (grip, 20, "keygrip:");
/* Convert to canonical encoding using a function which pads it to a
multiple of 64 bits. We need this padding for AESWRAP. */