aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_testing_lib-new.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-06-19 07:36:21 +0000
committerChristian Grothoff <christian@grothoff.org>2012-06-19 07:36:21 +0000
commit35430e08f99302862e9569f0d8c4f8528f346ed2 (patch)
tree4bcbe1bc0379b175e1e3948d247bd3761bd8699b /src/include/gnunet_testing_lib-new.h
parent15cbe297d66550a646dec5176949f5425746aba7 (diff)
downloadgnunet-35430e08f99302862e9569f0d8c4f8528f346ed2.tar.gz
gnunet-35430e08f99302862e9569f0d8c4f8528f346ed2.zip
-porting gnunet-testing command-line tool to new testing library
Diffstat (limited to 'src/include/gnunet_testing_lib-new.h')
-rw-r--r--src/include/gnunet_testing_lib-new.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_testing_lib-new.h b/src/include/gnunet_testing_lib-new.h
index fb51d2fb7..31bc2234a 100644
--- a/src/include/gnunet_testing_lib-new.h
+++ b/src/include/gnunet_testing_lib-new.h
@@ -102,9 +102,9 @@ GNUNET_TESTING_system_destroy (struct GNUNET_TESTING_System *system,
102 * @param key_number desired pre-created hostkey to obtain 102 * @param key_number desired pre-created hostkey to obtain
103 * @param id set to the peer's identity (hash of the public 103 * @param id set to the peer's identity (hash of the public
104 * key; if NULL, GNUNET_SYSERR is returned immediately 104 * key; if NULL, GNUNET_SYSERR is returned immediately
105 * @return GNUNET_SYSERR on error (not enough keys) 105 * @return NULL on error (not enough keys)
106 */ 106 */
107int 107struct GNUNET_CRYPTO_RsaPrivateKey *
108GNUNET_TESTING_hostkey_get (const struct GNUNET_TESTING_System *system, 108GNUNET_TESTING_hostkey_get (const struct GNUNET_TESTING_System *system,
109 uint32_t key_number, 109 uint32_t key_number,
110 struct GNUNET_PeerIdentity *id); 110 struct GNUNET_PeerIdentity *id);