This commit is contained in:
Christian Grothoff 2020-04-21 14:53:05 +02:00
parent c167fd8f8f
commit ee0d0dd33f
No known key found for this signature in database
GPG Key ID: 939E6BE1E29FC3CC

View File

@ -62,12 +62,8 @@ TALER_EXCHANGE_free_melt_data_ (struct MeltData *md)
for (unsigned int i = 0; i<TALER_CNC_KAPPA; i++)
GNUNET_free_non_null (md->fresh_coins[i]);
/* Finally, clean up a bit...
(NOTE: compilers might optimize this away, so this is
not providing any strong assurances that the key material
is purged.) */
memset (md,
0,
/* Finally, clean up a bit... */
GNUNET_CRYPTO_zero_keys (md,
sizeof (struct MeltData));
}