diff options
Diffstat (limited to 'src/hello/hello-ng.c')
-rw-r--r-- | src/hello/hello-ng.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hello/hello-ng.c b/src/hello/hello-ng.c index fcd1808f4..a16ceb944 100644 --- a/src/hello/hello-ng.c +++ b/src/hello/hello-ng.c | |||
@@ -62,7 +62,7 @@ struct SignedAddress | |||
62 | */ | 62 | */ |
63 | void | 63 | void |
64 | GNUNET_HELLO_sign_address (const char *address, | 64 | GNUNET_HELLO_sign_address (const char *address, |
65 | enum GNUNET_ATS_Network_Type nt, | 65 | enum GNUNET_NetworkType nt, |
66 | struct GNUNET_TIME_Absolute expiration, | 66 | struct GNUNET_TIME_Absolute expiration, |
67 | const struct GNUNET_CRYPTO_EddsaPrivateKey *private_key, | 67 | const struct GNUNET_CRYPTO_EddsaPrivateKey *private_key, |
68 | void **result, | 68 | void **result, |
@@ -110,7 +110,7 @@ char * | |||
110 | GNUNET_HELLO_extract_address (const void *raw, | 110 | GNUNET_HELLO_extract_address (const void *raw, |
111 | size_t raw_size, | 111 | size_t raw_size, |
112 | const struct GNUNET_CRYPTO_EddsaPublicKey *public_key, | 112 | const struct GNUNET_CRYPTO_EddsaPublicKey *public_key, |
113 | enum GNUNET_ATS_Network_Type *nt, | 113 | enum GNUNET_NetworkType *nt, |
114 | struct GNUNET_TIME_Absolute *expiration) | 114 | struct GNUNET_TIME_Absolute *expiration) |
115 | { | 115 | { |
116 | const char *raws = raw; | 116 | const char *raws = raw; |
@@ -188,6 +188,6 @@ GNUNET_HELLO_extract_address (const void *raw, | |||
188 | } | 188 | } |
189 | GNUNET_free (sig); | 189 | GNUNET_free (sig); |
190 | *expiration = raw_expiration; | 190 | *expiration = raw_expiration; |
191 | *nt = (enum GNUNET_ATS_Network_Type) raw_nt; | 191 | *nt = (enum GNUNET_NetworkType) raw_nt; |
192 | return GNUNET_strdup (raw_addr); | 192 | return GNUNET_strdup (raw_addr); |
193 | } | 193 | } |