[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] branch master updated: switch instance key
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] branch master updated: switch instance key too |
Date: |
Tue, 04 Jul 2017 19:37:42 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
The following commit(s) were added to refs/heads/master by this push:
new 4fcf4d1 switch instance key too
4fcf4d1 is described below
commit 4fcf4d1c71aa6d7b28e2471f113699156363eb7b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Jul 4 19:37:29 2017 +0200
switch instance key too
---
src/lib/test_merchant_api.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/src/lib/test_merchant_api.c b/src/lib/test_merchant_api.c
index 78b9bb6..5482918 100644
--- a/src/lib/test_merchant_api.c
+++ b/src/lib/test_merchant_api.c
@@ -96,6 +96,11 @@ unsigned int ninstances = 0;
static char *instance;
/**
+ * Current instance key
+ */
+struct GNUNET_CRYPTO_EddsaPrivateKey *instance_priv;
+
+/**
* Current instance being tested
*/
unsigned int instance_idx = 0;
@@ -1797,6 +1802,7 @@ interpreter_run (void *cls)
is->ip = 0;
instance_idx++;
instance = instances[instance_idx];
+ instance_priv = get_instance_priv (cfg, instance);
GNUNET_log (GNUNET_ERROR_TYPE_INFO,
"Switching instance: `%s'\n",
instance);
@@ -2782,6 +2788,7 @@ main (int argc,
GNUNET_strdup (token));
GNUNET_free (_instances);
instance = instances[instance_idx];
+ instance_priv = get_instance_priv (cfg, instance);
db = TALER_MERCHANTDB_plugin_load (cfg);
if (NULL == db)
{
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-merchant] branch master updated: switch instance key too,
gnunet <=