mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +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
|
@ -259,7 +259,7 @@ get_it (ctrl_t ctrl,
|
|||
* CSUM
|
||||
*/
|
||||
if (DBG_CRYPTO)
|
||||
log_printhex ("DEK frame:", frame, nframe);
|
||||
log_printhex (frame, nframe, "DEK frame:");
|
||||
n = 0;
|
||||
|
||||
if (sk->pubkey_algo == PUBKEY_ALGO_ECDH)
|
||||
|
@ -372,7 +372,7 @@ get_it (ctrl_t ctrl,
|
|||
if (DBG_CLOCK)
|
||||
log_clock ("decryption ready");
|
||||
if (DBG_CRYPTO)
|
||||
log_printhex ("DEK is:", dek->key, dek->keylen);
|
||||
log_printhex (dek->key, dek->keylen, "DEK is:");
|
||||
|
||||
/* Check that the algo is in the preferences and whether it has
|
||||
* expired. Also print a status line with the key's fingerprint. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue