diff options
author | Werner Koch <[email protected]> | 2016-05-21 09:41:49 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2016-05-21 09:41:49 +0000 |
commit | 027c4e55522b8e18711a3331932a9869ab89ca26 (patch) | |
tree | dd8508b06d19c8a47e4a159c71adb448b80e1a64 /g10/seskey.c | |
parent | gpg: Fix the TOFU_STATS_LONG status. (diff) | |
download | gnupg-027c4e55522b8e18711a3331932a9869ab89ca26.tar.gz gnupg-027c4e55522b8e18711a3331932a9869ab89ca26.zip |
gpg: Pass CTRL object down to the trust functions
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'g10/seskey.c')
-rw-r--r-- | g10/seskey.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/seskey.c b/g10/seskey.c index c41a1455b..d0e6b6f4a 100644 --- a/g10/seskey.c +++ b/g10/seskey.c @@ -347,6 +347,9 @@ encode_md_value (PKT_public_key *pk, gcry_md_hd_t md, int hash_algo) return NULL; if ( gcry_md_algo_info (hash_algo, GCRYCTL_GET_ASNOID, asn, &asnlen) ) BUG(); + log_debug ("%s: hash_algo=%d pk=%p\n", __func__, hash_algo, pk); + log_debug ("%s: pk->pkey[0]=%p\n", __func__, pk->pkey[0]); + gcry_log_debugmpi ("pkey[0]", pk->pkey[0]); frame = do_encode_md (md, hash_algo, gcry_md_get_algo_dlen (hash_algo), gcry_mpi_get_nbits (pk->pkey[0]), asn, asnlen); xfree (asn); |