summaryrefslogtreecommitdiff
path: root/src/lib/exchange_api_refresh_common.c
diff options
context:
space:
mode:
authorChristian Grothoff <grothoff@gnunet.org>2021-10-25 18:02:27 +0200
committerChristian Grothoff <christian@grothoff.org>2021-10-27 09:23:13 +0200
commitf0951d34ddd525a04bcb9daabbc55bd1ced2575e (patch)
tree03158d889a603673197f6c4a92ca9acebc10e2ce /src/lib/exchange_api_refresh_common.c
parentf7d08e8c2bbd6c5eaa73f339f551683c9d93ebeb (diff)
downloadexchange-f0951d34ddd525a04bcb9daabbc55bd1ced2575e.tar.gz
exchange-f0951d34ddd525a04bcb9daabbc55bd1ced2575e.tar.bz2
exchange-f0951d34ddd525a04bcb9daabbc55bd1ced2575e.zip
-fix more FTBFS
Diffstat (limited to 'src/lib/exchange_api_refresh_common.c')
-rw-r--r--src/lib/exchange_api_refresh_common.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/lib/exchange_api_refresh_common.c b/src/lib/exchange_api_refresh_common.c
index 048cf60e6..8f350dc9f 100644
--- a/src/lib/exchange_api_refresh_common.c
+++ b/src/lib/exchange_api_refresh_common.c
@@ -1,6 +1,6 @@
/*
This file is part of TALER
- Copyright (C) 2015-2020 Taler Systems SA
+ Copyright (C) 2015-2021 Taler Systems SA
TALER is free software; you can redistribute it and/or modify it under the
terms of the GNU General Public License as published by the Free Software
@@ -32,10 +32,8 @@
static void
free_melted_coin (struct MeltedCoin *mc)
{
- if (NULL != mc->pub_key.rsa_public_key)
- GNUNET_CRYPTO_rsa_public_key_free (mc->pub_key.rsa_public_key);
- if (NULL != mc->sig.rsa_signature)
- GNUNET_CRYPTO_rsa_signature_free (mc->sig.rsa_signature);
+ TALER_denom_pub_free (&mc->pub_key);
+ TALER_denom_sig_free (&mc->sig);
}