aboutsummaryrefslogtreecommitdiff
path: root/src/identity/test_identity_defaults.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-05-08 14:54:42 +0200
committerChristian Grothoff <christian@grothoff.org>2019-05-08 14:54:42 +0200
commit1b80ff9ee79b3fbe2028a8c22a01e45e9131cda2 (patch)
tree742185e47289bbed654eb641bf8f3d2409ee7976 /src/identity/test_identity_defaults.c
parentfba6afbd58e0b37b33850db4b1341dbf9392d1f3 (diff)
downloadgnunet-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.c3
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 */
230static void 231static void
231create_cb (void *cls, 232create_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