aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_max_queries.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_max_queries.c')
-rw-r--r--src/gns/test_gns_max_queries.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gns/test_gns_max_queries.c b/src/gns/test_gns_max_queries.c
index 75cd877f2..01649231f 100644
--- a/src/gns/test_gns_max_queries.c
+++ b/src/gns/test_gns_max_queries.c
@@ -49,6 +49,8 @@
49#define TEST_ADDITIONAL_LOOKUPS 5 49#define TEST_ADDITIONAL_LOOKUPS 5
50#define TEST_AUTHORITY_NAME "bob" 50#define TEST_AUTHORITY_NAME "bob"
51 51
52#define KEYFILE_BOB "../namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey"
53
52/* Globals */ 54/* Globals */
53 55
54/** 56/**
@@ -256,7 +258,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
256 } 258 }
257 259
258 alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); 260 alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile);
259 bob_key = GNUNET_CRYPTO_rsa_key_create (); 261 bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB);
260 262
261 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 263 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey);
262 GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); 264 GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey);