summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2022-02-12 12:14:17 +0100
committerChristian Grothoff <christian@grothoff.org>2022-02-12 12:14:24 +0100
commitd581729443de505c7061fa9f95cff67c1e169e0c (patch)
treed13184d87343a6c0ecf1fe0e6e5420f655cbf071 /src/util
parentdb8cdc8c4c80d305deb7b3b26c8e986d94ef5041 (diff)
downloadexchange-d581729443de505c7061fa9f95cff67c1e169e0c.tar.gz
exchange-d581729443de505c7061fa9f95cff67c1e169e0c.tar.bz2
exchange-d581729443de505c7061fa9f95cff67c1e169e0c.zip
-removed confused TODOs
Diffstat (limited to 'src/util')
-rw-r--r--src/util/taler-exchange-secmod-cs.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/util/taler-exchange-secmod-cs.c b/src/util/taler-exchange-secmod-cs.c
index 976880e79..6e4e163b2 100644
--- a/src/util/taler-exchange-secmod-cs.c
+++ b/src/util/taler-exchange-secmod-cs.c
@@ -397,12 +397,10 @@ setup_key (struct DenominationKey *dk,
struct GNUNET_CRYPTO_CsPublicKey pub;
GNUNET_CRYPTO_cs_private_key_generate (&priv);
- GNUNET_CRYPTO_cs_private_key_get_public (&priv, &pub);
- // TODO: Add nullcheck?
-
+ GNUNET_CRYPTO_cs_private_key_get_public (&priv,
+ &pub);
TALER_cs_pub_hash (&pub,
&dk->h_cs);
-
GNUNET_asprintf (&dk->filename,
"%s/%s/%llu",
keydir,
@@ -1118,8 +1116,8 @@ parse_key (struct Denomination *denom,
struct DenominationKey *dk;
struct DenominationKey *before;
- // TODO: Add check if pubkey is set?
- GNUNET_CRYPTO_cs_private_key_get_public (priv, &pub);
+ GNUNET_CRYPTO_cs_private_key_get_public (priv,
+ &pub);
dk = GNUNET_new (struct DenominationKey);
dk->denom_priv = *priv;
dk->denom = denom;