diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-02-07 21:15:59 +0100 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2020-02-09 20:38:11 +0100 |
commit | e8ea1f3e34e2a07cbe2fd4725e7362027d0c51c3 (patch) | |
tree | 5b11a525700872147d92d8195615e4352d6d18b1 /src/reclaim/gnunet-reclaim.c | |
parent | 5f9f9cae1714eb33e0ee9c824f3d88e6aab8cf63 (diff) | |
download | gnunet-e8ea1f3e34e2a07cbe2fd4725e7362027d0c51c3.tar.gz gnunet-e8ea1f3e34e2a07cbe2fd4725e7362027d0c51c3.zip |
add expiration
Diffstat (limited to 'src/reclaim/gnunet-reclaim.c')
-rw-r--r-- | src/reclaim/gnunet-reclaim.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/reclaim/gnunet-reclaim.c b/src/reclaim/gnunet-reclaim.c index cb9a87e37..e7ee814b6 100644 --- a/src/reclaim/gnunet-reclaim.c +++ b/src/reclaim/gnunet-reclaim.c | |||
@@ -650,8 +650,7 @@ attest_iter_finished (void *cls) | |||
650 | static void | 650 | static void |
651 | attest_iter_cb (void *cls, | 651 | attest_iter_cb (void *cls, |
652 | const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, | 652 | const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, |
653 | const struct GNUNET_RECLAIM_Attestation *attest, | 653 | const struct GNUNET_RECLAIM_Attestation *attest) |
654 | const struct GNUNET_RECLAIM_AttributeList *attrs) | ||
655 | { | 654 | { |
656 | char *attest_str; | 655 | char *attest_str; |
657 | char *attr_str; | 656 | char *attr_str; |
@@ -675,6 +674,8 @@ attest_iter_cb (void *cls, | |||
675 | attest_str, | 674 | attest_str, |
676 | attest_type, | 675 | attest_type, |
677 | id); | 676 | id); |
677 | struct GNUNET_RECLAIM_AttributeList *attrs = | ||
678 | GNUNET_RECLAIM_attestation_get_attributes (attest); | ||
678 | if (NULL != attrs) | 679 | if (NULL != attrs) |
679 | { | 680 | { |
680 | fprintf (stdout, | 681 | fprintf (stdout, |
@@ -692,6 +693,7 @@ attest_iter_cb (void *cls, | |||
692 | "\t %s: %s\n", ale->attribute->name, attr_str); | 693 | "\t %s: %s\n", ale->attribute->name, attr_str); |
693 | GNUNET_free (attr_str); | 694 | GNUNET_free (attr_str); |
694 | } | 695 | } |
696 | GNUNET_RECLAIM_attribute_list_destroy (attrs); | ||
695 | } | 697 | } |
696 | GNUNET_free (id); | 698 | GNUNET_free (id); |
697 | } | 699 | } |