diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-04-11 21:06:30 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-04-11 21:06:30 +0200 |
commit | 44272bf1cee4312d8d9c83eedc34dbb63fa1c0a4 (patch) | |
tree | aab79cc966bad591aadc7f4b469d816a9e261229 /src/exchange-tools/taler-exchange-keyup.c | |
parent | 88bb7f44281a9f8a9474a242f0e2557fed9da781 (diff) | |
download | exchange-44272bf1cee4312d8d9c83eedc34dbb63fa1c0a4.tar.xz |
adapations to GNUnet API change
Diffstat (limited to 'src/exchange-tools/taler-exchange-keyup.c')
-rw-r--r-- | src/exchange-tools/taler-exchange-keyup.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/exchange-tools/taler-exchange-keyup.c b/src/exchange-tools/taler-exchange-keyup.c index 5472f5e0e..0f5f66a8d 100644 --- a/src/exchange-tools/taler-exchange-keyup.c +++ b/src/exchange-tools/taler-exchange-keyup.c @@ -481,12 +481,9 @@ create_signkey_issue_priv ( struct GNUNET_TIME_Absolute end, struct TALER_EXCHANGEDB_PrivateSigningKeyInformationP *pi) { - struct GNUNET_CRYPTO_EddsaPrivateKey *priv; struct TALER_ExchangeSigningKeyValidityPS *issue = &pi->issue; - priv = GNUNET_CRYPTO_eddsa_key_create (); - pi->signkey_priv.eddsa_priv = *priv; - GNUNET_free (priv); + GNUNET_CRYPTO_eddsa_key_create (&pi->signkey_priv.eddsa_priv); issue->master_public_key = master_public_key; issue->start = GNUNET_TIME_absolute_hton (start); issue->expire = GNUNET_TIME_absolute_hton (GNUNET_TIME_absolute_add (start, |