diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-05-08 14:54:42 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-05-08 14:54:42 +0200 |
commit | 1b80ff9ee79b3fbe2028a8c22a01e45e9131cda2 (patch) | |
tree | 742185e47289bbed654eb641bf8f3d2409ee7976 /src/identity/test_identity.c | |
parent | fba6afbd58e0b37b33850db4b1341dbf9392d1f3 (diff) | |
download | gnunet-1b80ff9ee79b3fbe2028a8c22a01e45e9131cda2.tar.gz gnunet-1b80ff9ee79b3fbe2028a8c22a01e45e9131cda2.zip |
make generated ego key available in continuation when creating egos
Diffstat (limited to 'src/identity/test_identity.c')
-rw-r--r-- | src/identity/test_identity.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/identity/test_identity.c b/src/identity/test_identity.c index cfd759050..163394801 100644 --- a/src/identity/test_identity.c +++ b/src/identity/test_identity.c | |||
@@ -253,12 +253,15 @@ success_rename_cont (void *cls, | |||
253 | * Called with events about created ego. | 253 | * Called with events about created ego. |
254 | * | 254 | * |
255 | * @param cls NULL | 255 | * @param cls NULL |
256 | * @param pk private key of the ego, or NULL on error | ||
256 | * @param emsg error message | 257 | * @param emsg error message |
257 | */ | 258 | */ |
258 | static void | 259 | static void |
259 | create_cb (void *cls, | 260 | create_cb (void *cls, |
261 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *pk, | ||
260 | const char *emsg) | 262 | const char *emsg) |
261 | { | 263 | { |
264 | GNUNET_assert (NULL != pk); | ||
262 | GNUNET_assert (NULL == emsg); | 265 | GNUNET_assert (NULL == emsg); |
263 | op = GNUNET_IDENTITY_rename (h, | 266 | op = GNUNET_IDENTITY_rename (h, |
264 | "test-id", | 267 | "test-id", |