X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=src%2Fidentity-provider%2Fidentity_provider.h;h=682a207607c40d83077a8a43c7b468c282b7a50b;hb=4707789ebfb4cef9672db31e3ceb8f98381901d0;hp=12b96a51c021ea072d75f912bc806e432cc1aae1;hpb=8feaa39e16ba33a192b32097e8087c9aca2d27d8;p=oweals%2Fgnunet.git diff --git a/src/identity-provider/identity_provider.h b/src/identity-provider/identity_provider.h index 12b96a51c..682a20760 100644 --- a/src/identity-provider/identity_provider.h +++ b/src/identity-provider/identity_provider.h @@ -1,6 +1,6 @@ /* This file is part of GNUnet. - Copyright (C) 2016 Christian Grothoff (and other contributing authors) + Copyright (C) 2016 GNUnet e.V. GNUnet is free software; you can redistribute it and/or modify it under the terms of the GNU General Public Liceidentity as published @@ -41,7 +41,7 @@ struct GNUNET_IDENTITY_PROVIDER_Token /** * The JWT representation of the identity token */ - const char *data; + char *data; }; /** @@ -52,7 +52,7 @@ struct GNUNET_IDENTITY_PROVIDER_Ticket /** * The Base64 representation of the ticket */ - const char *data; + char *data; }; /** @@ -65,7 +65,7 @@ struct GNUNET_IDENTITY_PROVIDER_IssueResultMessage */ struct GNUNET_MessageHeader header; - /* followed by 0-terminated ticket */ + /* followed by 0-terminated label,ticket,token */ }; @@ -81,10 +81,10 @@ struct GNUNET_IDENTITY_PROVIDER_ExchangeResultMessage struct GNUNET_MessageHeader header; /** - * Number of bytes in token string including 0-termination, in NBO; + * Nonce found in ticket. NBO * 0 on error. */ - uint16_t name_len GNUNET_PACKED; + uint64_t ticket_nonce GNUNET_PACKED; /* followed by 0-terminated token */