* @author Martin Schanzenbach
*/
#include "platform.h"
-
#include "gnunet_util_lib.h"
-
#include "gnunet_json_lib.h"
#include "gnunet_reclaim_lib.h"
#include "gnunet_reclaim_service.h"
type, data, data_size);
if ((NULL != attest_str) && (0 != strlen (attest_str)))
{
- GNUNET_STRINGS_string_to_data (attest_str,
+ GNUNET_STRINGS_string_to_data (attest_str,
strlen (attest_str),
&attr->attestation,
sizeof(attr->attestation));
return ret;
}
+
/**
* Parse given JSON object to an attestation claim
*
return GNUNET_OK;
}
+
/**
* Cleanup data left from parsing RSA public key.
*
*attr = NULL;
}
}
+
+
/**
* JSON Specification for Reclaim attestation claims.
*
*attr = NULL;
return ret;
}
-