X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fset%2Ftest_set_api.c;h=ec5226d50aee42a41cc37dfc05447f115c2cedcd;hb=fdbe690beeec04066f18302401096eb5212c3f6a;hp=be0b7ee16d2b3fc71ae24674605eec3222d8bb63;hpb=78965ef296afe639d28b4202bbcfba7139ad9dec;p=oweals%2Fgnunet.git diff --git a/src/set/test_set_api.c b/src/set/test_set_api.c index be0b7ee16..ec5226d50 100644 --- a/src/set/test_set_api.c +++ b/src/set/test_set_api.c @@ -216,7 +216,7 @@ test_iter () /** * Signature of the 'main' function for a (single-peer) testcase that * is run using 'GNUNET_TESTING_peer_run'. - * + * * @param cls closure * @param cfg configuration of the peer that was started * @param peer identity of the peer that was created @@ -230,10 +230,10 @@ run (void *cls, struct GNUNET_SET_OperationHandle *my_oh; config = cfg; - GNUNET_CRYPTO_get_host_identity (cfg, &local_id); - printf ("my id (from CRYPTO): %s\n", GNUNET_h2s (&local_id.hashPubKey)); + GNUNET_CRYPTO_get_peer_identity (cfg, &local_id); + printf ("my id (from CRYPTO): %s\n", GNUNET_i2s (&local_id)); GNUNET_TESTING_peer_get_identity (peer, &local_id); - printf ("my id (from TESTING): %s\n", GNUNET_h2s (&local_id.hashPubKey)); + printf ("my id (from TESTING): %s\n", GNUNET_i2s (&local_id)); test_iter ();