diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-04-10 12:37:06 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-04-10 12:37:06 +0000 |
commit | d4eaac0fd6040c9b58c7f9784cf28a8f97703fcd (patch) | |
tree | 0699a734a1040a8e5f01006e4b7fe16c9bdb60fb /src/gns/test_gns_pseu_shorten.c | |
parent | a35f78d77df9313f355ec3ea157709260740bb9e (diff) | |
download | gnunet-d4eaac0fd6040c9b58c7f9784cf28a8f97703fcd.tar.gz gnunet-d4eaac0fd6040c9b58c7f9784cf28a8f97703fcd.zip |
-more precomp keys
Diffstat (limited to 'src/gns/test_gns_pseu_shorten.c')
-rw-r--r-- | src/gns/test_gns_pseu_shorten.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gns/test_gns_pseu_shorten.c b/src/gns/test_gns_pseu_shorten.c index 3ceeaa32c..0d6c0a76b 100644 --- a/src/gns/test_gns_pseu_shorten.c +++ b/src/gns/test_gns_pseu_shorten.c | |||
@@ -54,6 +54,9 @@ | |||
54 | 54 | ||
55 | #define DHT_OPERATION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) | 55 | #define DHT_OPERATION_TIMEOUT GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_SECONDS, 30) |
56 | 56 | ||
57 | #define KEYFILE_BOB "../namestore/zonefiles/HGU0A0VCU334DN7F2I9UIUMVQMM7JMSD142LIMNUGTTV9R0CF4EG.zkey" | ||
58 | #define KEYFILE_ALICE "../namestore/zonefiles/N0UJMP015AFUNR2BTNM3FKPBLG38913BL8IDMCO2H0A1LIB81960.zkey" | ||
59 | |||
57 | /* Globals */ | 60 | /* Globals */ |
58 | 61 | ||
59 | /** | 62 | /** |
@@ -527,8 +530,8 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, | |||
527 | } | 530 | } |
528 | 531 | ||
529 | our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile); | 532 | our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile); |
530 | bob_key = GNUNET_CRYPTO_rsa_key_create (); | 533 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); |
531 | alice_key = GNUNET_CRYPTO_rsa_key_create (); | 534 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_ALICE); |
532 | 535 | ||
533 | GNUNET_free(our_keyfile); | 536 | GNUNET_free(our_keyfile); |
534 | 537 | ||