diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-09-16 13:53:39 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-09-16 13:53:39 +0000 |
commit | e5cdb00d7e936e202f7ef57519dd3b4c8b168154 (patch) | |
tree | ae52f5177d44e024ab0127099aeed247e89cd76a /src/namestore/gnunet-namestore-fcfsd.c | |
parent | 78965ef296afe639d28b4202bbcfba7139ad9dec (diff) | |
download | gnunet-e5cdb00d7e936e202f7ef57519dd3b4c8b168154.tar.gz gnunet-e5cdb00d7e936e202f7ef57519dd3b4c8b168154.zip |
-eliminate ShortHashCode residuals (#2936)
Diffstat (limited to 'src/namestore/gnunet-namestore-fcfsd.c')
-rw-r--r-- | src/namestore/gnunet-namestore-fcfsd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/namestore/gnunet-namestore-fcfsd.c b/src/namestore/gnunet-namestore-fcfsd.c index 527e46eb9..7149a5206 100644 --- a/src/namestore/gnunet-namestore-fcfsd.c +++ b/src/namestore/gnunet-namestore-fcfsd.c | |||
@@ -511,7 +511,7 @@ zone_to_name_cb (void *cls, | |||
511 | { | 511 | { |
512 | struct Request *request = cls; | 512 | struct Request *request = cls; |
513 | struct GNUNET_NAMESTORE_RecordData r; | 513 | struct GNUNET_NAMESTORE_RecordData r; |
514 | struct GNUNET_CRYPTO_ShortHashCode pub; | 514 | struct GNUNET_CRYPTO_EccPublicSignKey pub; |
515 | 515 | ||
516 | request->qe = NULL; | 516 | request->qe = NULL; |
517 | if (NULL != name) | 517 | if (NULL != name) |
@@ -523,6 +523,8 @@ zone_to_name_cb (void *cls, | |||
523 | run_httpd_now (); | 523 | run_httpd_now (); |
524 | return; | 524 | return; |
525 | } | 525 | } |
526 | GNUNET_CRYPTO_ecc_key_get_public_for_signature (zone_key, | ||
527 | &pub); | ||
526 | r.data = &pub; | 528 | r.data = &pub; |
527 | r.data_size = sizeof (pub); | 529 | r.data_size = sizeof (pub); |
528 | r.expiration_time = UINT64_MAX; | 530 | r.expiration_time = UINT64_MAX; |