-more keys
authorMartin Schanzenbach <mschanzenbach@posteo.de>
Tue, 10 Apr 2012 12:47:54 +0000 (12:47 +0000)
committerMartin Schanzenbach <mschanzenbach@posteo.de>
Tue, 10 Apr 2012 12:47:54 +0000 (12:47 +0000)
src/gns/test_gns_dht_delegated_lookup.c
src/gns/test_gns_max_queries.c
src/gns/test_gns_simple_delegated_lookup.c
src/gns/test_gns_simple_get_authority.c
src/gns/test_gns_simple_mx_lookup.c
src/gns/test_gns_simple_zkey_lookup.c

index 14a8cb100c9905882c1ada34540d5c7f3ac5370f..2835af6f8605df14a07e0a1cf309ef07652765ef 100644 (file)
@@ -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);
 
index 01649231fe095487c668654f96844f5ec94ce050..e94c57f059e90f57edc953b1feb04fa247ca109f 100644 (file)
@@ -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);
index 1f02a71bf863f45e24f1bf874ce4c09ccd5baf5e..876b93eab21efdf61ca58f3237237906aeac2bdc 100644 (file)
@@ -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);
index b69f1af5870a6e1f25a5c5c1a069966ffba1edfe..39268f4c58a93031c9ac9b983c900cb051daac20 100644 (file)
@@ -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);
index 967829f7e53701b66da9a42023339aedae63dcab..8606889456cb7a6ee6676719514ba0aa99fcf28a 100644 (file)
@@ -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);
index 3ca3313270126d5e2fc27de8115edda5b063b938..7402f9d588e94252e161e3868cfb332f75c71287 100644 (file)
@@ -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);