Group :: Communications
RPM: gnunet
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: gnunet-fix-pointer.patch
Download
Download
diff --git a/GNUnet/src/applications/identity/identity.c b/GNUnet/src/applications/identity/identity.c
index 063c463..6d3cf65 100644
--- a/GNUnet/src/applications/identity/identity.c
+++ b/GNUnet/src/applications/identity/identity.c
@@ -423,7 +423,7 @@ getPeerIdentity (const GNUNET_RSA_PublicKey * pubKey,
GNUNET_PeerIdentity * result)
{
if (pubKey == NULL)
- memset (&result, 0, sizeof (GNUNET_PeerIdentity));
+ memset (result, 0, sizeof (GNUNET_PeerIdentity));
else
GNUNET_hash (pubKey, sizeof (GNUNET_RSA_PublicKey), &result->hashPubKey);
}