aboutsummaryrefslogtreecommitdiff
path: root/src/gns/test_gns_simple_get_authority.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gns/test_gns_simple_get_authority.c')
-rw-r--r--src/gns/test_gns_simple_get_authority.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gns/test_gns_simple_get_authority.c b/src/gns/test_gns_simple_get_authority.c
index d4359ca6d..b69f1af58 100644
--- a/src/gns/test_gns_simple_get_authority.c
+++ b/src/gns/test_gns_simple_get_authority.c
@@ -51,6 +51,9 @@
51#define TEST_ALICE_PSEU "carol" 51#define TEST_ALICE_PSEU "carol"
52#define TEST_EXPECTED_RESULT "alice.bob.gnunet" 52#define TEST_EXPECTED_RESULT "alice.bob.gnunet"
53 53
54#define KEYFILE_BOB "../namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey"
55#define KEYFILE_ALICE "../namestore/zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey"
56
54/* Globals */ 57/* Globals */
55 58
56/** 59/**
@@ -224,8 +227,8 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id,
224 our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile); 227 our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile);
225 GNUNET_free(our_keyfile); 228 GNUNET_free(our_keyfile);
226 229
227 bob_key = GNUNET_CRYPTO_rsa_key_create (); 230 bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB);
228 alice_key = GNUNET_CRYPTO_rsa_key_create (); 231 alice_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_ALICE);
229 232
230 GNUNET_CRYPTO_rsa_key_get_public (our_key, &our_pkey); 233 GNUNET_CRYPTO_rsa_key_get_public (our_key, &our_pkey);
231 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 234 GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey);