aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_zkey_lookup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_zkey_lookup.c')
-rw-r--r--src/gns/test_gns_simple_zkey_lookup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c
index 729a53705..3ca331327 100644
--- a/src/gns/test_gns_simple_zkey_lookup.c
+++ b/src/gns/test_gns_simple_zkey_lookup.c
@@ -48,6 +48,8 @@
48 48
49#define TEST_AUTHORITY_NAME "bob" 49#define TEST_AUTHORITY_NAME "bob"
50 50
51#define KEYFILE_BOB "../namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey"
52
51/* Globals */ 53/* Globals */
52 54
53/** 55/**
@@ -232,7 +234,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id,
232 } 234 }
233 235
234 alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); 236 alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile);
235 bob_key = GNUNET_CRYPTO_rsa_key_create (); 237 bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB);
236 238
237 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 239 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey);
238 GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); 240 GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey);