gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-exchange] branch master updated: denom pub trait mad


From: gnunet
Subject: [GNUnet-SVN] [taler-exchange] branch master updated: denom pub trait made 'const'
Date: Wed, 21 Feb 2018 16:58:36 +0100

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 8d5cc9f  denom pub trait made 'const'
8d5cc9f is described below

commit 8d5cc9f550da58610ad220d72f21d930c47ad0a8
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Feb 21 16:58:18 2018 +0100

    denom pub trait made 'const'
---
 src/exchange-lib/testing_api_cmd_deposit.c     | 2 +-
 src/exchange-lib/testing_api_cmd_payback.c     | 4 ++--
 src/exchange-lib/testing_api_cmd_refresh.c     | 4 ++--
 src/exchange-lib/testing_api_trait_denom_pub.c | 2 +-
 src/include/taler_testing_lib.h                | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/exchange-lib/testing_api_cmd_deposit.c 
b/src/exchange-lib/testing_api_cmd_deposit.c
index f795159..6f66e8a 100644
--- a/src/exchange-lib/testing_api_cmd_deposit.c
+++ b/src/exchange-lib/testing_api_cmd_deposit.c
@@ -143,7 +143,7 @@ deposit_run (void *cls,
   struct TALER_TESTING_Command *this_cmd;
   struct TALER_CoinSpendPrivateKeyP *coin_priv;
   struct TALER_CoinSpendPublicKeyP coin_pub;
-  struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
+  const struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
   struct TALER_DenominationSignature *denom_pub_sig;
   struct TALER_CoinSpendSignatureP coin_sig;
   struct GNUNET_TIME_Absolute refund_deadline;
diff --git a/src/exchange-lib/testing_api_cmd_payback.c 
b/src/exchange-lib/testing_api_cmd_payback.c
index 6c791e5..3a750e7 100644
--- a/src/exchange-lib/testing_api_cmd_payback.c
+++ b/src/exchange-lib/testing_api_cmd_payback.c
@@ -217,7 +217,7 @@ payback_run (void *cls,
   const struct TALER_TESTING_Command *coin_cmd;
   struct TALER_CoinSpendPrivateKeyP *coin_priv;
   struct TALER_DenominationBlindingKeyP *blinding_key;
-  struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
+  const struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
   struct TALER_DenominationSignature *coin_sig;
   struct TALER_PlanchetSecretsP planchet;
 
@@ -373,7 +373,7 @@ revoke_run (void *cls,
 {
   struct RevokeState *rs = cls;
   const struct TALER_TESTING_Command *coin_cmd;
-  struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
+  const struct TALER_EXCHANGE_DenomPublicKey *denom_pub;
 
   rs->is = is;
   /* Get denom pub from trait */
diff --git a/src/exchange-lib/testing_api_cmd_refresh.c 
b/src/exchange-lib/testing_api_cmd_refresh.c
index 3e58552..8233f67 100644
--- a/src/exchange-lib/testing_api_cmd_refresh.c
+++ b/src/exchange-lib/testing_api_cmd_refresh.c
@@ -245,7 +245,7 @@ reveal_cb (void *cls,
     rrs->fresh_coins = GNUNET_new_array
       (num_coins, struct FreshCoin);
 
-    struct TALER_EXCHANGE_DenomPublicKey *fresh_pks;
+    const struct TALER_EXCHANGE_DenomPublicKey *fresh_pks;
     unsigned int i;
     if (GNUNET_OK != TALER_TESTING_get_trait_denom_pub
       (melt_cmd, 0, &fresh_pks))
@@ -670,7 +670,7 @@ refresh_melt_run (void *cls,
     struct TALER_Amount melt_amount;
     struct TALER_Amount fresh_amount;
     struct TALER_DenominationSignature *melt_sig;
-    struct TALER_EXCHANGE_DenomPublicKey *melt_denom_pub;
+    const struct TALER_EXCHANGE_DenomPublicKey *melt_denom_pub;
     unsigned int i;
 
     const struct MeltDetails *md = &rms->melted_coin;
diff --git a/src/exchange-lib/testing_api_trait_denom_pub.c 
b/src/exchange-lib/testing_api_trait_denom_pub.c
index 22d9a34..92c003c 100644
--- a/src/exchange-lib/testing_api_trait_denom_pub.c
+++ b/src/exchange-lib/testing_api_trait_denom_pub.c
@@ -45,7 +45,7 @@ int
 TALER_TESTING_get_trait_denom_pub
   (const struct TALER_TESTING_Command *cmd,
    unsigned int index,
-   struct TALER_EXCHANGE_DenomPublicKey **denom_pub)
+   const struct TALER_EXCHANGE_DenomPublicKey **denom_pub)
 {
   return cmd->traits (cmd->cls,
                       (void **) denom_pub,
diff --git a/src/include/taler_testing_lib.h b/src/include/taler_testing_lib.h
index 1a61d6d..b4350e0 100644
--- a/src/include/taler_testing_lib.h
+++ b/src/include/taler_testing_lib.h
@@ -991,7 +991,7 @@ int
 TALER_TESTING_get_trait_denom_pub
   (const struct TALER_TESTING_Command *cmd,
    unsigned int index,
-   struct TALER_EXCHANGE_DenomPublicKey **dpk);
+   const struct TALER_EXCHANGE_DenomPublicKey **dpk);
 
 
 /**

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]