aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/test_revocation.c
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-21 15:45:12 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2020-04-21 15:45:12 +0200
commite64ec174f28812a18fd35f5d671a03e335380d93 (patch)
tree41163115e277b0f33abcdeee758960753ccb1d81 /src/revocation/test_revocation.c
parent19b772329cb8968e5e96e33d5238f172f5553dc4 (diff)
downloadgnunet-e64ec174f28812a18fd35f5d671a03e335380d93.tar.gz
gnunet-e64ec174f28812a18fd35f5d671a03e335380d93.zip
rename, fix
Diffstat (limited to 'src/revocation/test_revocation.c')
-rw-r--r--src/revocation/test_revocation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/revocation/test_revocation.c b/src/revocation/test_revocation.c
index 84f90fe54..a7de15a3f 100644
--- a/src/revocation/test_revocation.c
+++ b/src/revocation/test_revocation.c
@@ -141,14 +141,14 @@ revocation_cb (void *cls, enum GNUNET_GenericReturnValue is_valid)
141 } 141 }
142} 142}
143 143
144struct GNUNET_REVOCATION_Pow proof_of_work;
145
144 146
145static void 147static void
146ego_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego) 148ego_cb (void *cls, const struct GNUNET_IDENTITY_Ego *ego)
147{ 149{
148 static int completed = 0; 150 static int completed = 0;
149 const struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey; 151 const struct GNUNET_CRYPTO_EcdsaPrivateKey *privkey;
150 struct GNUNET_REVOCATION_Pow proof_of_work;
151
152 152
153 if ((NULL != ego) && (cls == &testpeers[0])) 153 if ((NULL != ego) && (cls == &testpeers[0]))
154 { 154 {