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_defaults.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_defaults.c')
-rw-r--r-- | src/identity/test_identity_defaults.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/identity/test_identity_defaults.c b/src/identity/test_identity_defaults.c index a7559cd94..bcd75e84c 100644 --- a/src/identity/test_identity_defaults.c +++ b/src/identity/test_identity_defaults.c | |||
@@ -225,13 +225,16 @@ notification_cb (void *cls, | |||
225 | * Called with events about created ego. | 225 | * Called with events about created ego. |
226 | * | 226 | * |
227 | * @param cls NULL | 227 | * @param cls NULL |
228 | * @param pk private key of the ego, or NULL on error | ||
228 | * @param emsg error message | 229 | * @param emsg error message |
229 | */ | 230 | */ |
230 | static void | 231 | static void |
231 | create_cb (void *cls, | 232 | create_cb (void *cls, |
233 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *pk, | ||
232 | const char *emsg) | 234 | const char *emsg) |
233 | { | 235 | { |
234 | GNUNET_assert (NULL == emsg); | 236 | GNUNET_assert (NULL == emsg); |
237 | GNUNET_assert (NULL != pk); | ||
235 | op = NULL; | 238 | op = NULL; |
236 | } | 239 | } |
237 | 240 | ||