diff options
author | Julius Bünger <buenger@mytum.de> | 2019-04-26 05:56:54 +0200 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2019-04-26 05:56:54 +0200 |
commit | f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e (patch) | |
tree | 94055d2c049a65b5ab6c61fd3c5867fe49f6f429 /src/hello/hello.c | |
parent | a097690795f4f814de7cdbc97ef95fb899eeacd3 (diff) | |
download | gnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.tar.gz gnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.zip |
memcmp() -> GNUNET_memcmp(), first take
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; |