diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-18 08:52:32 +0200 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2020-05-18 08:52:32 +0200 |
commit | 3be730446ba439170a67798dca8c634625c82cea (patch) | |
tree | 7507895cab33c0fedbaef6f265a1a41482ce8bb8 /src/identity/identity_api_lookup.c | |
parent | d89a4c1ee6f00924233c799e50777ea985d5b213 (diff) | |
download | gnunet-3be730446ba439170a67798dca8c634625c82cea.tar.gz gnunet-3be730446ba439170a67798dca8c634625c82cea.zip |
fix api for lazy pubkey loading
Diffstat (limited to 'src/identity/identity_api_lookup.c')
-rw-r--r-- | src/identity/identity_api_lookup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/identity/identity_api_lookup.c b/src/identity/identity_api_lookup.c index 6c61d3977..26b1eacd7 100644 --- a/src/identity/identity_api_lookup.c +++ b/src/identity/identity_api_lookup.c | |||
@@ -130,6 +130,7 @@ handle_identity_update (void *cls, const struct UpdateMessage *um) | |||
130 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; | 130 | struct GNUNET_CRYPTO_EcdsaPublicKey pub; |
131 | struct GNUNET_HashCode id; | 131 | struct GNUNET_HashCode id; |
132 | struct GNUNET_IDENTITY_Ego ego; | 132 | struct GNUNET_IDENTITY_Ego ego; |
133 | memset (&ego, 0, sizeof (ego)); | ||
133 | 134 | ||
134 | GNUNET_break (GNUNET_YES != ntohs (um->end_of_list)); | 135 | GNUNET_break (GNUNET_YES != ntohs (um->end_of_list)); |
135 | GNUNET_CRYPTO_ecdsa_key_get_public (&um->private_key, &pub); | 136 | GNUNET_CRYPTO_ecdsa_key_get_public (&um->private_key, &pub); |