- memset (&pkey, 32, sizeof (pkey));
- GNUNET_CRYPTO_hash (&pkey, sizeof (pkey), &pid.hashPubKey);
- h2 = GNUNET_HELLO_create (&pkey, &address_generator, &agc, GNUNET_YES);
+ memset (&pid, 32, sizeof (pid));
+ h2 = GNUNET_HELLO_create (&pid.public_key, &address_generator, &agc, GNUNET_YES);