From: Martin Schanzenbach Date: Tue, 10 Apr 2012 12:47:54 +0000 (+0000) Subject: -more keys X-Git-Tag: initial-import-from-subversion-38251~13967 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=eb2f7ab009637c279a6bbf227ddfc54a8e2b08e3;p=oweals%2Fgnunet.git -more keys --- 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, } alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); - bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); + bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); GNUNET_free(alice_keyfile); 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, } alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); - bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); + bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 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, } alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); - bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); + bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 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, our_key = GNUNET_CRYPTO_rsa_key_create_from_file (our_keyfile); GNUNET_free(our_keyfile); - bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); - alice_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_ALICE); + bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); + alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_ALICE); GNUNET_CRYPTO_rsa_key_get_public (our_key, &our_pkey); 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, } alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); - bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); + bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); 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, } alice_key = GNUNET_CRYPTO_rsa_key_create_from_file (alice_keyfile); - bob_key = GNUNET_CRYPTO_rsa_key_create (KEYFILE_BOB); + bob_key = GNUNET_CRYPTO_rsa_key_create_from_file (KEYFILE_BOB); GNUNET_CRYPTO_rsa_key_get_public (alice_key, &alice_pkey); GNUNET_CRYPTO_rsa_key_get_public (bob_key, &bob_pkey);