From deb0d815d8e7b0456401713d920345ba1ca12236 Mon Sep 17 00:00:00 2001 From: Martin Schanzenbach Date: Tue, 10 Apr 2012 12:45:36 +0000 Subject: -more keys --- src/gns/test_gns_simple_zkey_lookup.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/gns/test_gns_simple_zkey_lookup.c') 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 @@ #define TEST_AUTHORITY_NAME "bob" +#define KEYFILE_BOB "../namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey" + /* Globals */ /** @@ -232,7 +234,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, } alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); - bob_key = GNUNET_CRYPTO_rsa_key_create (); + bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); -- cgit v1.2.3