diff options
Diffstat (limited to 'src/hello/hello.c')
-rw-r--r-- | src/hello/hello.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hello/hello.c b/src/hello/hello.c index 218d73127..f803f4370 100644 --- a/src/hello/hello.c +++ b/src/hello/hello.c | |||
@@ -838,9 +838,8 @@ GNUNET_HELLO_equals (const struct GNUNET_HELLO_Message *h1, | |||
838 | if (h1->header.type != h2->header.type) | 838 | if (h1->header.type != h2->header.type) |
839 | return GNUNET_TIME_UNIT_ZERO_ABS; | 839 | return GNUNET_TIME_UNIT_ZERO_ABS; |
840 | if (0 != | 840 | if (0 != |
841 | memcmp (&h1->publicKey, | 841 | GNUNET_memcmp (&h1->publicKey, |
842 | &h2->publicKey, | 842 | &h2->publicKey)) |
843 | sizeof (struct GNUNET_CRYPTO_EddsaPublicKey))) | ||
844 | return GNUNET_TIME_UNIT_ZERO_ABS; | 843 | return GNUNET_TIME_UNIT_ZERO_ABS; |
845 | ec.expiration_limit = now; | 844 | ec.expiration_limit = now; |
846 | ec.result = GNUNET_TIME_UNIT_FOREVER_ABS; | 845 | ec.result = GNUNET_TIME_UNIT_FOREVER_ABS; |