aboutsummaryrefslogtreecommitdiff
path: root/src/gns
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2013-11-28 19:28:42 +0000
committerChristian Grothoff <christian@grothoff.org>2013-11-28 19:28:42 +0000
commit933cd4f41e1043438900618960555a1589de95dc (patch)
tree32c20dcb57a4e1b6f9ce326137e6207f0722a3ae /src/gns
parent2bd36bff24ee64101788f997cc55aad352e80bfa (diff)
downloadgnunet-933cd4f41e1043438900618960555a1589de95dc.tar.gz
gnunet-933cd4f41e1043438900618960555a1589de95dc.zip
-fix bad sizeof
Diffstat (limited to 'src/gns')
-rw-r--r--src/gns/gnunet-service-gns_shorten.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gns/gnunet-service-gns_shorten.c b/src/gns/gnunet-service-gns_shorten.c
index 25b8a033f..34dcd42f6 100644
--- a/src/gns/gnunet-service-gns_shorten.c
+++ b/src/gns/gnunet-service-gns_shorten.c
@@ -391,8 +391,8 @@ GNS_shorten_start (const char *original_label,
391 GNUNET_break (0); 391 GNUNET_break (0);
392 return; 392 return;
393 } 393 }
394 GNUNET_CRYPTO_ecdsa_key_get_public(shorten_zone, &shorten_pub); 394 GNUNET_CRYPTO_ecdsa_key_get_public (shorten_zone, &shorten_pub);
395 if (0 == memcmp (&shorten_pub, pub, sizeof (pub))) 395 if (0 == memcmp (&shorten_pub, pub, sizeof (struct GNUNET_CRYPTO_EcdsaPublicKey)))
396 { 396 {
397 /* Do not shorten the shorten zone */ 397 /* Do not shorten the shorten zone */
398 return; 398 return;