aboutsummaryrefslogtreecommitdiff
path: root/src/revocation/test_revocation.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/revocation/test_revocation.c')
-rw-r--r--src/revocation/test_revocation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/revocation/test_revocation.c b/src/revocation/test_revocation.c
index c6457016f..e6dd1a0db 100644
--- a/src/revocation/test_revocation.c
+++ b/src/revocation/test_revocation.c
@@ -195,16 +195,16 @@ ego_cb (void *cls, struct GNUNET_IDENTITY_Ego *ego)
195static void 195static void
196identity_create_cb (void *cls, 196identity_create_cb (void *cls,
197 const struct GNUNET_IDENTITY_PrivateKey *pk, 197 const struct GNUNET_IDENTITY_PrivateKey *pk,
198 const char *emsg) 198 enum GNUNET_ErrorCode ec)
199{ 199{
200 static int completed = 0; 200 static int completed = 0;
201 201
202 if ((NULL == emsg) && (cls == &testpeers[0])) 202 if ((GNUNET_EC_NONE == ec) && (cls == &testpeers[0]))
203 { 203 {
204 testpeers[0].create_id_op = NULL; 204 testpeers[0].create_id_op = NULL;
205 completed++; 205 completed++;
206 } 206 }
207 if ((NULL == emsg) && (cls == &testpeers[1])) 207 if ((GNUNET_EC_NONE == ec) && (cls == &testpeers[1]))
208 { 208 {
209 testpeers[1].create_id_op = NULL; 209 testpeers[1].create_id_op = NULL;
210 completed++; 210 completed++;