diff options
author | Özgür Kesim <oec-taler@kesim.org> | 2021-12-01 15:25:33 +0100 |
---|---|---|
committer | Özgür Kesim <oec-taler@kesim.org> | 2021-12-01 15:25:33 +0100 |
commit | 54c62f3ab9a38f734601e3af3bfa97b3587dd634 (patch) | |
tree | e7e1ded8e5b6b8151996f16f27f96d61534e9946 /src/util/test_helper_rsa.c | |
parent | 41aba39f0fccc8ba30ba78995880aa07704dbb25 (diff) |
[age restriction] progress 6/n
lift logic for detection of age restriction of a denomination out from
taler-exchange-secmod-rsa.c to taler-exchange_httpd_keys.c
Diffstat (limited to 'src/util/test_helper_rsa.c')
-rw-r--r-- | src/util/test_helper_rsa.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/util/test_helper_rsa.c b/src/util/test_helper_rsa.c index 6377a39d..14ff2bfa 100644 --- a/src/util/test_helper_rsa.c +++ b/src/util/test_helper_rsa.c @@ -133,7 +133,6 @@ free_keys (void) * @param sm_pub public key of the security module, NULL if the key was revoked or purged * @param sm_sig signature from the security module, NULL if the key was revoked or purged * The signature was already verified against @a sm_pub. - * @param age_restricted indication if denomination is age restricted */ static void key_cb (void *cls, @@ -143,13 +142,11 @@ key_cb (void *cls, const struct TALER_RsaPubHashP *h_rsa, const struct TALER_DenominationPublicKey *denom_pub, const struct TALER_SecurityModulePublicKeyP *sm_pub, - const struct TALER_SecurityModuleSignatureP *sm_sig, - bool age_restricted) + const struct TALER_SecurityModuleSignatureP *sm_sig) { (void) cls; (void) sm_pub; (void) sm_sig; - (void) age_restricted; GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Key notification about key %s in `%s'\n", GNUNET_h2s (&h_rsa->hash), @@ -189,7 +186,6 @@ key_cb (void *cls, keys[i].validity_duration = validity_duration; TALER_denom_pub_deep_copy (&keys[i].denom_pub, denom_pub); - /* FIXME-oec: take age_restriction into account!? */ num_keys++; return; } |