diff options
author | Werner Koch <wk@gnupg.org> | 2015-04-06 13:07:09 +0200 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2015-04-06 13:07:09 +0200 |
commit | 4de8a58e44262a25564e2acef8c8865d1755982e (patch) | |
tree | 67709360f11d4c036a77462db7474258e9df18bd /g10/seskey.c | |
parent | gpg: Fix DoS while parsing mangled secret key packets. (diff) | |
download | gnupg2-4de8a58e44262a25564e2acef8c8865d1755982e.tar.xz gnupg2-4de8a58e44262a25564e2acef8c8865d1755982e.zip |
gpg: Rename a debug macro.
* g10/options.h (DBG_CIPHER_VALUE): Rename to DBG_CRYPTO_VALUE.
(DBG_CIPHER): Rename to DBG_CRYPTO.
Diffstat (limited to '')
-rw-r--r-- | g10/seskey.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/g10/seskey.c b/g10/seskey.c index 410f0bfa6..e79faf8c9 100644 --- a/g10/seskey.c +++ b/g10/seskey.c @@ -82,7 +82,7 @@ encode_session_key (int openpgp_pk_algo, DEK *dek, unsigned int nbits) u16 csum; gcry_mpi_t a; - if (DBG_CIPHER) + if (DBG_CRYPTO) log_debug ("encode_session_key: encoding %d byte DEK", dek->keylen); csum = 0; @@ -116,7 +116,7 @@ encode_session_key (int openpgp_pk_algo, DEK *dek, unsigned int nbits) memset (frame+n, i, i); /* Use it as the value of each padded byte. */ assert (n+i == nframe); - if (DBG_CIPHER) + if (DBG_CRYPTO) log_debug ("encode_session_key: " "[%d] %02x %02x %02x ... %02x %02x %02x\n", (int) nframe, frame[0], frame[1], frame[2], |