fix log error
authorChristian Grothoff <christian@grothoff.org>
Tue, 17 Mar 2020 00:47:41 +0000 (01:47 +0100)
committerChristian Grothoff <christian@grothoff.org>
Tue, 17 Mar 2020 00:47:41 +0000 (01:47 +0100)
src/reclaim/plugin_reclaim_attestation_jwt.c

index ec31584d5a65817b8586919da0ef0bb3e8d9b638..c87d3e61af3d8deac7eb39d7925c47498c4145db 100644 (file)
@@ -163,7 +163,7 @@ jwt_parse_attributes (void *cls,
   json_t *json_val;
   json_error_t *json_err = NULL;
 
-  GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "%s\n", attest->data);
+  /* GNUNET_log (GNUNET_ERROR_TYPE_WARNING, "%s\n", attest->data); (not OK: 'data' is not defined as 0-terminated text, but binary) */
   if (GNUNET_RECLAIM_ATTESTATION_TYPE_JWT != attest->type)
     return NULL;
   attrs = GNUNET_new (struct GNUNET_RECLAIM_AttributeList);