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/namestore/test_namestore_api_zone_iteration.c | |
parent | a097690795f4f814de7cdbc97ef95fb899eeacd3 (diff) | |
download | gnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.tar.gz gnunet-f5f5a9f680df2cebe6435ec87650cb3cb6e3ef6e.zip |
memcmp() -> GNUNET_memcmp(), first take
Diffstat (limited to 'src/namestore/test_namestore_api_zone_iteration.c')
-rw-r--r-- | src/namestore/test_namestore_api_zone_iteration.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/namestore/test_namestore_api_zone_iteration.c b/src/namestore/test_namestore_api_zone_iteration.c index fa641954b..94331f89e 100644 --- a/src/namestore/test_namestore_api_zone_iteration.c +++ b/src/namestore/test_namestore_api_zone_iteration.c | |||
@@ -160,9 +160,8 @@ zone_proc (void *cls, | |||
160 | int failed = GNUNET_NO; | 160 | int failed = GNUNET_NO; |
161 | 161 | ||
162 | GNUNET_assert (NULL != zone); | 162 | GNUNET_assert (NULL != zone); |
163 | if (0 == memcmp (zone, | 163 | if (0 == GNUNET_memcmp (zone, |
164 | privkey, | 164 | privkey)) |
165 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) | ||
166 | { | 165 | { |
167 | if (0 == strcmp (label, s_name_1)) | 166 | if (0 == strcmp (label, s_name_1)) |
168 | { | 167 | { |
@@ -207,9 +206,8 @@ zone_proc (void *cls, | |||
207 | GNUNET_break (0); | 206 | GNUNET_break (0); |
208 | } | 207 | } |
209 | } | 208 | } |
210 | else if (0 == memcmp (zone, | 209 | else if (0 == GNUNET_memcmp (zone, |
211 | privkey2, | 210 | privkey2)) |
212 | sizeof (struct GNUNET_CRYPTO_EcdsaPrivateKey))) | ||
213 | { | 211 | { |
214 | if (0 == strcmp (label, s_name_3)) | 212 | if (0 == strcmp (label, s_name_3)) |
215 | { | 213 | { |