diff options
author | jospaeth <spaethj@in.tum.de> | 2020-05-25 21:38:58 +0200 |
---|---|---|
committer | jospaeth <spaethj@in.tum.de> | 2020-05-25 21:38:58 +0200 |
commit | a32de45ceffeb69038ecfa7b963f30b7fed83a41 (patch) | |
tree | 76a39adcf7163c71e470b7c5bf4357dd5471cf9c /src/revocation/test_revocation.c | |
parent | 19cd0e6d0eca5192a9c8f4f005abd85d531949f1 (diff) | |
download | gnunet-spaeth/import_identity.tar.gz gnunet-spaeth/import_identity.zip |
add option to create identity from private keyspaeth/import_identity
Diffstat (limited to 'src/revocation/test_revocation.c')
-rw-r--r-- | src/revocation/test_revocation.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/revocation/test_revocation.c b/src/revocation/test_revocation.c index f193d5f6c..1c2efa60f 100644 --- a/src/revocation/test_revocation.c +++ b/src/revocation/test_revocation.c | |||
@@ -237,10 +237,12 @@ identity_completion_cb (void *cls, | |||
237 | fprintf (stderr, "All peers connected @ IDENTITY ...\n"); | 237 | fprintf (stderr, "All peers connected @ IDENTITY ...\n"); |
238 | testpeers[0].create_id_op = GNUNET_IDENTITY_create (testpeers[0].idh, | 238 | testpeers[0].create_id_op = GNUNET_IDENTITY_create (testpeers[0].idh, |
239 | "client", | 239 | "client", |
240 | NULL, | ||
240 | &identity_create_cb, | 241 | &identity_create_cb, |
241 | &testpeers[0]); | 242 | &testpeers[0]); |
242 | testpeers[1].create_id_op = GNUNET_IDENTITY_create (testpeers[1].idh, | 243 | testpeers[1].create_id_op = GNUNET_IDENTITY_create (testpeers[1].idh, |
243 | "toberevoked", | 244 | "toberevoked", |
245 | NULL, | ||
244 | &identity_create_cb, | 246 | &identity_create_cb, |
245 | &testpeers[1]); | 247 | &testpeers[1]); |
246 | } | 248 | } |