fix more VLAs

This commit is contained in:
Christian Grothoff 2023-05-10 01:07:20 +02:00
parent c014acf3c4
commit 09f09a2104
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC
2 changed files with 5 additions and 3 deletions

View File

@ -196,7 +196,7 @@ parse_decision_ok (struct TALER_EXCHANGE_LookupAmlDecision *lh,
struct TALER_EXCHANGE_AmlDecisionDetail aml_history_ar[
GNUNET_NZL (lr.details.ok.aml_history_length)];
struct TALER_EXCHANGE_KycHistoryDetail kyc_attributes_ar[
lr.details.ok.kyc_attributes_length];
GNUNET_NZL (lr.details.ok.kyc_attributes_length)];
enum GNUNET_GenericReturnValue ret = GNUNET_SYSERR;
lr.details.ok.aml_history = aml_history_ar;

View File

@ -1239,9 +1239,11 @@ melt_traits (void *cls,
TALER_TESTING_make_trait_h_age_commitment (
index,
rms->refresh_data.melt_h_age_commitment),
TALER_TESTING_make_trait_exchange_wd_value (index,
&rms->mbds[index].alg_value),
TALER_TESTING_make_trait_refresh_secret (&rms->rms),
(NULL != rms->mbds)
? TALER_TESTING_make_trait_exchange_wd_value (index,
&rms->mbds[index].alg_value)
: TALER_TESTING_trait_end (),
TALER_TESTING_trait_end ()
};