aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2021-01-15 15:38:47 +0100
committerChristian Grothoff <christian@grothoff.org>2021-01-15 15:38:47 +0100
commit33835b124b301fe688c82093a0fd6e38d28a91d3 (patch)
treec4a421d5b76e8804fbb7e87a5f9a5200d733eedc /src/util
parent8c113d2459b461a02927b1ce29207354cb1c275f (diff)
fix DH revocation logic
Diffstat (limited to 'src/util')
-rw-r--r--src/util/crypto_helper_denom.c6
-rw-r--r--src/util/taler-helper-crypto-rsa.c4
2 files changed, 8 insertions, 2 deletions
diff --git a/src/util/crypto_helper_denom.c b/src/util/crypto_helper_denom.c
index 1ef24d3f9..88eecec20 100644
--- a/src/util/crypto_helper_denom.c
+++ b/src/util/crypto_helper_denom.c
@@ -366,6 +366,9 @@ handle_mt_purge (struct TALER_CRYPTO_DenominationHelper *dh,
GNUNET_break_op (0);
return GNUNET_SYSERR;
}
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Received revocation of denomination key %s\n",
+ GNUNET_h2s (&pn->h_denom_pub));
dh->dkc (dh->dkc_cls,
NULL,
GNUNET_TIME_UNIT_ZERO_ABS,
@@ -681,6 +684,9 @@ TALER_CRYPTO_helper_denom_revoke (
}
/* We are using SOCK_DGRAM, partial writes should not be possible */
GNUNET_break (((size_t) ret) == sizeof (rr));
+ GNUNET_log (GNUNET_ERROR_TYPE_INFO,
+ "Requested revocation of denomination key %s\n",
+ GNUNET_h2s (h_denom_pub));
}
diff --git a/src/util/taler-helper-crypto-rsa.c b/src/util/taler-helper-crypto-rsa.c
index ae75e5a2a..779f7dae1 100644
--- a/src/util/taler-helper-crypto-rsa.c
+++ b/src/util/taler-helper-crypto-rsa.c
@@ -958,7 +958,6 @@ handle_revoke_request (const struct sockaddr_un *addr,
GNUNET_log_strerror_file (GNUNET_ERROR_TYPE_ERROR,
"unlink",
dk->filename);
-
/* Setup replacement key */
denom = dk->denom;
ndk = GNUNET_new (struct DenominationKey);
@@ -985,7 +984,8 @@ handle_revoke_request (const struct sockaddr_un *addr,
denom->keys_tail,
dk);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
- "Revocation complete\n");
+ "Revocation of denomination key %s complete\n",
+ GNUNET_h2s (&rr->h_denom_pub));
/* Tell clients this key is gone */
{