aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/testing.c')
-rw-r--r--src/testing/testing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index 7474d9b5f..fd0701d7d 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -2169,8 +2169,8 @@ GNUNET_TESTING_get_connections (unsigned int num, struct
2169 * @return The peer identity wrapping the public key. 2169 * @return The peer identity wrapping the public key.
2170 */ 2170 */
2171struct GNUNET_PeerIdentity * 2171struct GNUNET_PeerIdentity *
2172GNUNET_TESTING_get_pub_key (unsigned int num, struct 2172GNUNET_TESTING_get_pub_key (unsigned int num,
2173 GNUNET_TESTING_System *tl_system) 2173 const struct GNUNET_TESTING_System *tl_system)
2174{ 2174{
2175 struct GNUNET_PeerIdentity *peer = GNUNET_new (struct GNUNET_PeerIdentity); 2175 struct GNUNET_PeerIdentity *peer = GNUNET_new (struct GNUNET_PeerIdentity);
2176 struct GNUNET_CRYPTO_EddsaPublicKey *pub_key = GNUNET_new (struct 2176 struct GNUNET_CRYPTO_EddsaPublicKey *pub_key = GNUNET_new (struct