diff options
Diffstat (limited to 'src/hello/test_hello.c')
-rw-r--r-- | src/hello/test_hello.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/hello/test_hello.c b/src/hello/test_hello.c index 4d8988c50..1f9c398fa 100644 --- a/src/hello/test_hello.c +++ b/src/hello/test_hello.c | |||
@@ -179,9 +179,8 @@ main (int argc, | |||
179 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 179 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |
180 | "Testing get_key from HELLO...\n"); | 180 | "Testing get_key from HELLO...\n"); |
181 | GNUNET_assert (GNUNET_OK == GNUNET_HELLO_get_id (msg2, &pid)); | 181 | GNUNET_assert (GNUNET_OK == GNUNET_HELLO_get_id (msg2, &pid)); |
182 | GNUNET_assert (0 == memcmp (&publicKey, | 182 | GNUNET_assert (0 == GNUNET_memcmp (&publicKey, |
183 | &pid.public_key, | 183 | &pid.public_key)); |
184 | sizeof (struct GNUNET_CRYPTO_EddsaPublicKey))); | ||
185 | GNUNET_free (msg1); | 184 | GNUNET_free (msg1); |
186 | 185 | ||
187 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, | 186 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, |