From 5116186ec14967a86dfd26356acfb0138fe4bb4c Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 24 Nov 2021 21:48:49 +0100 Subject: [PATCH] -fix the fix --- src/exchange/taler-exchange-httpd_keys.c | 3 ++- 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 index 1be8fd203..1fb58fc8c 100644 --- 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