aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorÖzgür Kesim <oec-taler@kesim.org>2021-11-29 10:12:08 +0100
committerÖzgür Kesim <oec-taler@kesim.org>2021-11-29 10:12:08 +0100
commita467ba6a541048d53f77d7e74fd439fac6c5ed31 (patch)
tree8701005ce8fd8abc7cb27021e6852ea4a9134d2c
parentc8480d97a17e1ab8f358dadc48e6e9b3ea17f6da (diff)
downloadexchange-a467ba6a541048d53f77d7e74fd439fac6c5ed31.tar.xz
typo and pointer comparison fixed
-rw-r--r--src/util/crypto_helper_rsa.c2
-rw-r--r--src/util/taler-exchange-secmod-rsa.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/util/crypto_helper_rsa.c b/src/util/crypto_helper_rsa.c
index d30f8091b..d4deec0d1 100644
--- a/src/util/crypto_helper_rsa.c
+++ b/src/util/crypto_helper_rsa.c
@@ -240,7 +240,7 @@ handle_mt_avail (struct TALER_CRYPTO_RsaDenominationHelper *dh,
&denom_pub,
&kan->secm_pub,
&kan->secm_sig,
- (&kan->age_restricted > 0));
+ (kan->age_restricted > 0));
TALER_denom_pub_free (&denom_pub);
}
return GNUNET_OK;
diff --git a/src/util/taler-exchange-secmod-rsa.c b/src/util/taler-exchange-secmod-rsa.c
index 0711fd7a5..4dfb2e3aa 100644
--- a/src/util/taler-exchange-secmod-rsa.c
+++ b/src/util/taler-exchange-secmod-rsa.c
@@ -20,7 +20,7 @@
*
* Key design points:
* - EVERY thread of the exchange will have its own pair of connections to the
- * crypto helpers. This way, every threat will also have its own /keys state
+ * crypto helpers. This way, every thread will also have its own /keys state
* and avoid the need to synchronize on those.
* - auditor signatures and master signatures are to be kept in the exchange DB,
* and merged with the public keys of the helper by the exchange HTTPD!