aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_delegated_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_delegated_lookup.c')
-rw-r--r--src/gns/test_gns_simple_delegated_lookup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gns/test_gns_simple_delegated_lookup.c b/src/gns/test_gns_simple_delegated_lookup.c
index 05ed2fe77..1f02a71bf 100644
--- a/src/gns/test_gns_simple_delegated_lookup.c
+++ b/src/gns/test_gns_simple_delegated_lookup.c
@@ -62,6 +62,8 @@
62 62
63#define TEST_AUTHORITY_NAME "bob" 63#define TEST_AUTHORITY_NAME "bob"
64 64
65#define KEYFILE_BOB "../namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey"
66
65/* Globals */ 67/* Globals */
66 68
67/** 69/**
@@ -229,7 +231,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
229 } 231 }
230 232
231 alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); 233 alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile);
232 bob_key = GNUNET_CRYPTO_rsa_key_create (); 234 bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB);
233 235
234 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 236 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey);
235 GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); 237 GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey);