commit 5116186ec14967a86dfd26356acfb0138fe4bb4c
parent 61616fe2c85b6b88fba88bb10ee063279f62f842
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 24 Nov 2021 21:48:49 +0100
-fix the fix
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/exchange/taler-exchange-httpd_keys.c b/src/exchange/taler-exchange-httpd_keys.c
@@ -687,9 +687,10 @@ 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);
+ GNUNET_assert (TALER_DENOMINATION_RSA == 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