diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-04-10 12:47:54 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2012-04-10 12:47:54 +0000 |
commit | eb2f7ab009637c279a6bbf227ddfc54a8e2b08e3 (patch) | |
tree | 1eccf5066238a78a768e9ebfdb8eb89c980f23a4 /src/gns | |
parent | deb0d815d8e7b0456401713d920345ba1ca12236 (diff) | |
download | gnunet-eb2f7ab009637c279a6bbf227ddfc54a8e2b08e3.tar.gz gnunet-eb2f7ab009637c279a6bbf227ddfc54a8e2b08e3.zip |
-more keys
Diffstat (limited to 'src/gns')
-rw-r--r-- | src/gns/test_gns_dht_delegated_lookup.c | 2 | ||||
-rw-r--r-- | src/gns/test_gns_max_queries.c | 2 | ||||
-rw-r--r-- | src/gns/test_gns_simple_delegated_lookup.c | 2 | ||||
-rw-r--r-- | src/gns/test_gns_simple_get_authority.c | 4 | ||||
-rw-r--r-- | src/gns/test_gns_simple_mx_lookup.c | 2 | ||||
-rw-r--r-- | src/gns/test_gns_simple_zkey_lookup.c | 2 |
6 files changed, 7 insertions, 7 deletions
diff --git a/src/gns/test_gns_dht_delegated_lookup.c b/src/gns/test_gns_dht_delegated_lookup.c index 14a8cb100..2835af6f8 100644 --- a/src/gns/test_gns_dht_delegated_lookup.c +++ b/src/gns/test_gns_dht_delegated_lookup.c | |||
@@ -305,7 +305,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, | |||
305 | } | 305 | } |
306 | 306 | ||
307 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 307 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); |
308 | bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); | 308 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); |
309 | 309 | ||
310 | GNUNET_free(alice_keyfile); | 310 | GNUNET_free(alice_keyfile); |
311 | 311 | ||
diff --git a/src/gns/test_gns_max_queries.c b/src/gns/test_gns_max_queries.c index 01649231f..e94c57f05 100644 --- a/src/gns/test_gns_max_queries.c +++ b/src/gns/test_gns_max_queries.c | |||
@@ -258,7 +258,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, | |||
258 | } | 258 | } |
259 | 259 | ||
260 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 260 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); |
261 | bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); | 261 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); |
262 | 262 | ||
263 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 263 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); |
264 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); | 264 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); |
diff --git a/src/gns/test_gns_simple_delegated_lookup.c b/src/gns/test_gns_simple_delegated_lookup.c index 1f02a71bf..876b93eab 100644 --- a/src/gns/test_gns_simple_delegated_lookup.c +++ b/src/gns/test_gns_simple_delegated_lookup.c | |||
@@ -231,7 +231,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, | |||
231 | } | 231 | } |
232 | 232 | ||
233 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 233 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); |
234 | bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); | 234 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); |
235 | 235 | ||
236 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 236 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); |
237 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); | 237 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); |
diff --git a/src/gns/test_gns_simple_get_authority.c b/src/gns/test_gns_simple_get_authority.c index b69f1af58..39268f4c5 100644 --- a/src/gns/test_gns_simple_get_authority.c +++ b/src/gns/test_gns_simple_get_authority.c | |||
@@ -227,8 +227,8 @@ do_shorten(void *cls, const struct GNUNET_PeerIdentity *id, | |||
227 | our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile); | 227 | our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile); |
228 | GNUNET_free(our_keyfile); | 228 | GNUNET_free(our_keyfile); |
229 | 229 | ||
230 | bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); | 230 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); |
231 | alice_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_ALICE); | 231 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_ALICE); |
232 | 232 | ||
233 | GNUNET_CRYPTO_rsa_key_get_public (our_key, &our_pkey); | 233 | GNUNET_CRYPTO_rsa_key_get_public (our_key, &our_pkey); |
234 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 234 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); |
diff --git a/src/gns/test_gns_simple_mx_lookup.c b/src/gns/test_gns_simple_mx_lookup.c index 967829f7e..860688945 100644 --- a/src/gns/test_gns_simple_mx_lookup.c +++ b/src/gns/test_gns_simple_mx_lookup.c | |||
@@ -248,7 +248,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, | |||
248 | } | 248 | } |
249 | 249 | ||
250 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 250 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); |
251 | bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); | 251 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); |
252 | 252 | ||
253 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 253 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); |
254 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); | 254 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); |
diff --git a/src/gns/test_gns_simple_zkey_lookup.c b/src/gns/test_gns_simple_zkey_lookup.c index 3ca331327..7402f9d58 100644 --- a/src/gns/test_gns_simple_zkey_lookup.c +++ b/src/gns/test_gns_simple_zkey_lookup.c | |||
@@ -234,7 +234,7 @@ do_lookup(void *cls, const struct GNUNET_PeerIdentity *id, | |||
234 | } | 234 | } |
235 | 235 | ||
236 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); | 236 | alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); |
237 | bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); | 237 | bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); |
238 | 238 | ||
239 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); | 239 | GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); |
240 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); | 240 | GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey); |