mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
common: Change argument order of log_printhex.
* common/logging.c (log_printhex): Chnage order of args. Make it printf alike. Change all callers. * configure.ac: Add -Wno-format-zero-length -- This makes it consistent with modern libgpgrt logging and thus eases back porting from newer GnuPG versions which use libgpgrt logging. Signed-off-by: Werner Koch <wk@gnupg.org>
This commit is contained in:
parent
aec7d136e4
commit
c6324ee07a
26 changed files with 84 additions and 76 deletions
|
@ -512,10 +512,10 @@ gpgsm_verify (ctrl_t ctrl, int in_fd, int data_fd, estream_t out_fp)
|
|||
if (DBG_X509)
|
||||
{
|
||||
if (msgdigest)
|
||||
log_printhex ("message: ", msgdigest, msgdigestlen);
|
||||
log_printhex (msgdigest, msgdigestlen, "message: ");
|
||||
if (s)
|
||||
log_printhex ("computed: ",
|
||||
s, gcry_md_get_algo_dlen (algo));
|
||||
log_printhex (s, gcry_md_get_algo_dlen (algo),
|
||||
"computed: ");
|
||||
}
|
||||
fpr = gpgsm_fpr_and_name_for_status (cert);
|
||||
gpgsm_status (ctrl, STATUS_BADSIG, fpr);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue