"Schanzenbach, Martin" <[email protected]> writes:

> Is your struct packed as specified in the comment?

I tried adding both GNUNET_NETWORK_STRUCT_BEGIN/END and GNUNET_PACKED
and nothing happens.

The struct contains just two other structs inside.  It's similar to
`struct GNUNET_REVOCATION_SignaturePurposePS' from the
"gnunet_revocation_service.h" file, except instead of there being a key
and a timestamp there is simply a hash generated from a hashing context.

I even tried swapping `htonl' with `ntohl' and still no luck.  Removing
the call entirely generates an assertion error which I assume is the
correct behaviour.

The error actually seems to stem from gcrypt, but we're now entering a
field I have even less expertise on, so I can't investigate any further.

Thanks,
A.V.

Reply via email to