diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-04-10 12:45:36 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-04-10 12:45:36 +0000 |
commit | deb0d815d8e7b0456401713d920345ba1ca12236 (patch) | |
tree | a1e3bb815a6738d91a101c3c675dd8fee3cef0df /src/gns/test_gns_simple_zkey_lookup.c | |
parent | d4eaac0fd6040c9b58c7f9784cf28a8f97703fcd (diff) | |
download | gnunet-deb0d815d8e7b0456401713d920345ba1ca12236.tar.gz gnunet-deb0d815d8e7b0456401713d920345ba1ca12236.zip |
-more keys
Diffstat (limited to 'src/gns/test_gns_simple_zkey_lookup.c')
-rw-r--r-- | src/gns/test_gns_simple_zkey_lookup.c | 4 |
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); |