diff options
Diffstat (limited to 'src/reclaim/reclaim_credential.c')
-rw-r--r-- | src/reclaim/reclaim_credential.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/reclaim/reclaim_credential.c b/src/reclaim/reclaim_credential.c index 5c8974400..b85ba5955 100644 --- a/src/reclaim/reclaim_credential.c +++ b/src/reclaim/reclaim_credential.c | |||
@@ -721,7 +721,6 @@ GNUNET_RECLAIM_presentation_list_serialize_get_size ( | |||
721 | { | 721 | { |
722 | GNUNET_assert (NULL != le->presentation); | 722 | GNUNET_assert (NULL != le->presentation); |
723 | len += GNUNET_RECLAIM_presentation_serialize_get_size (le->presentation); | 723 | len += GNUNET_RECLAIM_presentation_serialize_get_size (le->presentation); |
724 | len += sizeof(struct GNUNET_RECLAIM_PresentationListEntry); | ||
725 | } | 724 | } |
726 | return len; | 725 | return len; |
727 | } | 726 | } |
@@ -774,8 +773,7 @@ GNUNET_RECLAIM_presentation_list_deserialize (const char *data, size_t | |||
774 | 773 | ||
775 | al = GNUNET_new (struct GNUNET_RECLAIM_PresentationList); | 774 | al = GNUNET_new (struct GNUNET_RECLAIM_PresentationList); |
776 | 775 | ||
777 | if ((data_size < sizeof(struct Presentation) | 776 | if (data_size < sizeof(struct Presentation)) |
778 | + sizeof(struct GNUNET_RECLAIM_PresentationListEntry))) | ||
779 | return al; | 777 | return al; |
780 | 778 | ||
781 | read_ptr = data; | 779 | read_ptr = data; |