mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-03 12:11:33 +01:00
sm: Minor debug output format changes.
--
This commit is contained in:
parent
95d83cf906
commit
c03f80dc19
@ -533,7 +533,7 @@ gpgsm_agent_pkdecrypt (ctrl_t ctrl, const char *keygrip, const char *desc,
|
|||||||
buf = get_membuf (&data, &len);
|
buf = get_membuf (&data, &len);
|
||||||
if (!buf)
|
if (!buf)
|
||||||
return gpg_error (GPG_ERR_ENOMEM);
|
return gpg_error (GPG_ERR_ENOMEM);
|
||||||
assert (len); /* (we forced Nul termination.) */
|
log_assert (len); /* (we forced Nul termination.) */
|
||||||
|
|
||||||
if (*buf == '(')
|
if (*buf == '(')
|
||||||
{
|
{
|
||||||
|
@ -196,7 +196,7 @@ gpgsm_get_keygrip (ksba_cert_t cert, unsigned char *array)
|
|||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (DBG_X509)
|
if (DBG_X509)
|
||||||
log_printhex (array, 20, "keygrip=");
|
log_printhex (array, 20, "keygrip:");
|
||||||
|
|
||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
|
@ -882,7 +882,7 @@ parse_p12 (ctrl_t ctrl, ksba_reader_t reader, struct stats_s *stats)
|
|||||||
log_error ("can't calculate keygrip\n");
|
log_error ("can't calculate keygrip\n");
|
||||||
goto leave;
|
goto leave;
|
||||||
}
|
}
|
||||||
log_printhex (grip, 20, "keygrip=");
|
log_printhex (grip, 20, "keygrip:");
|
||||||
|
|
||||||
/* Convert to canonical encoding using a function which pads it to a
|
/* Convert to canonical encoding using a function which pads it to a
|
||||||
multiple of 64 bits. We need this padding for AESWRAP. */
|
multiple of 64 bits. We need this padding for AESWRAP. */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user