-fix the fix

This commit is contained in:
Christian Grothoff 2021-11-24 21:48:49 +01:00
parent 61616fe2c8
commit 5116186ec1
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -687,9 +687,10 @@ helper_rsa_cb (
hd->validity_duration = validity_duration; hd->validity_duration = validity_duration;
hd->h_details.h_rsa = *h_rsa; hd->h_details.h_rsa = *h_rsa;
hd->sm_sig = *sm_sig; 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, TALER_denom_pub_deep_copy (&hd->denom_pub,
denom_pub); denom_pub);
GNUNET_assert (TALER_DENOMINATION_RSA == hd->denom_pub.cipher);
// FIXME-OEC: set AGE RESTRICTION (from 'global' variable, // FIXME-OEC: set AGE RESTRICTION (from 'global' variable,
// that itself is set from /managmenet API!) HERE! // that itself is set from /managmenet API!) HERE!
// ISSUE: tricky to handle if configuration changes // ISSUE: tricky to handle if configuration changes