diff options
Diffstat (limited to 'src/fs/fs_publish.c')
-rw-r--r-- | src/fs/fs_publish.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fs/fs_publish.c b/src/fs/fs_publish.c index 387ede6a1..05645f0ab 100644 --- a/src/fs/fs_publish.c +++ b/src/fs/fs_publish.c | |||
@@ -1152,7 +1152,7 @@ finish_reserve (void *cls, int success, | |||
1152 | struct GNUNET_FS_PublishContext * | 1152 | struct GNUNET_FS_PublishContext * |
1153 | GNUNET_FS_publish_start (struct GNUNET_FS_Handle *h, | 1153 | GNUNET_FS_publish_start (struct GNUNET_FS_Handle *h, |
1154 | struct GNUNET_FS_FileInformation *fi, | 1154 | struct GNUNET_FS_FileInformation *fi, |
1155 | const struct GNUNET_CRYPTO_EccPrivateKey *ns, | 1155 | const struct GNUNET_CRYPTO_EcdsaPrivateKey *ns, |
1156 | const char *nid, | 1156 | const char *nid, |
1157 | const char *nuid, | 1157 | const char *nuid, |
1158 | enum GNUNET_FS_PublishOptions options) | 1158 | enum GNUNET_FS_PublishOptions options) |
@@ -1177,7 +1177,7 @@ GNUNET_FS_publish_start (struct GNUNET_FS_Handle *h, | |||
1177 | ret->fi = fi; | 1177 | ret->fi = fi; |
1178 | if (NULL != ns) | 1178 | if (NULL != ns) |
1179 | { | 1179 | { |
1180 | ret->ns = GNUNET_new (struct GNUNET_CRYPTO_EccPrivateKey); | 1180 | ret->ns = GNUNET_new (struct GNUNET_CRYPTO_EcdsaPrivateKey); |
1181 | *ret->ns = *ns; | 1181 | *ret->ns = *ns; |
1182 | GNUNET_assert (NULL != nid); | 1182 | GNUNET_assert (NULL != nid); |
1183 | ret->nid = GNUNET_strdup (nid); | 1183 | ret->nid = GNUNET_strdup (nid); |