diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-08-11 15:36:42 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-08-11 15:36:42 +0000 |
commit | b64ef35e9e4d3f43b8840bacac60ac2a91ae03f1 (patch) | |
tree | d97273f6ef88c54622e15ea1d675b7d9f2ee93a5 /src/fs/fs_publish_ublock.c | |
parent | a78e015dd4764c54c013729cf58c55dbaa8af626 (diff) | |
download | gnunet-b64ef35e9e4d3f43b8840bacac60ac2a91ae03f1.tar.gz gnunet-b64ef35e9e4d3f43b8840bacac60ac2a91ae03f1.zip |
-add extra context argument for key deriviation, so that fs and gads do not collide
Diffstat (limited to 'src/fs/fs_publish_ublock.c')
-rw-r--r-- | src/fs/fs_publish_ublock.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/fs_publish_ublock.c b/src/fs/fs_publish_ublock.c index 71997fda0..75446e8a8 100644 --- a/src/fs/fs_publish_ublock.c +++ b/src/fs/fs_publish_ublock.c | |||
@@ -242,7 +242,7 @@ GNUNET_FS_publish_ublock_ (struct GNUNET_FS_Handle *h, | |||
242 | ub_enc->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK); | 242 | ub_enc->purpose.purpose = htonl (GNUNET_SIGNATURE_PURPOSE_FS_UBLOCK); |
243 | 243 | ||
244 | /* derive signing-key from 'label' and public key of the namespace */ | 244 | /* derive signing-key from 'label' and public key of the namespace */ |
245 | nsd = GNUNET_CRYPTO_ecc_key_derive (ns, label); | 245 | nsd = GNUNET_CRYPTO_ecc_key_derive (ns, label, "fs-ublock"); |
246 | GNUNET_CRYPTO_ecc_key_get_public (nsd, | 246 | GNUNET_CRYPTO_ecc_key_get_public (nsd, |
247 | &ub_enc->verification_key); | 247 | &ub_enc->verification_key); |
248 | GNUNET_assert (GNUNET_OK == | 248 | GNUNET_assert (GNUNET_OK == |