diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-11-24 21:47:21 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-11-24 21:47:21 +0100 |
commit | 61616fe2c85b6b88fba88bb10ee063279f62f842 (patch) | |
tree | 77d499a3c985228ea4e0928fede4b53608a01e2e /src/exchange/taler-exchange-httpd_keys.c | |
parent | 0ac1b7abad70ed2619393a64601e139fd0623f6e (diff) | |
download | exchange-61616fe2c85b6b88fba88bb10ee063279f62f842.tar.gz exchange-61616fe2c85b6b88fba88bb10ee063279f62f842.tar.bz2 exchange-61616fe2c85b6b88fba88bb10ee063279f62f842.zip |
-fix check
Diffstat (limited to 'src/exchange/taler-exchange-httpd_keys.c')
-rw-r--r-- | src/exchange/taler-exchange-httpd_keys.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c index 32f270c15..1be8fd203 100644 --- a/src/exchange/taler-exchange-httpd_keys.c +++ b/src/exchange/taler-exchange-httpd_keys.c @@ -670,7 +670,6 @@ helper_rsa_cb ( section_name, GNUNET_STRINGS_relative_time_to_string (validity_duration, GNUNET_NO)); - GNUNET_assert (TALER_DENOMINATION_RSA == denom_pub->cipher); key_generation++; TEH_resume_keys_requests (false); hd = GNUNET_CONTAINER_multihashmap_get (hs->rsa_keys, @@ -688,9 +687,9 @@ helper_rsa_cb ( hd->validity_duration = validity_duration; hd->h_details.h_rsa = *h_rsa; hd->sm_sig = *sm_sig; + GNUNET_assert (TALER_DENOMINATION_RSA == hd->denom_pub.cipher); TALER_denom_pub_deep_copy (&hd->denom_pub, denom_pub); - GNUNET_assert (TALER_DENOMINATION_RSA == hd->denom_pub.cipher); // FIXME-OEC: set AGE RESTRICTION (from 'global' variable, // that itself is set from /managmenet API!) HERE! // ISSUE: tricky to handle if configuration changes |