diff options
author | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-01-08 19:51:27 +0000 |
---|---|---|
committer | Martin Schanzenbach <mschanzenbach@posteo.de> | 2016-01-08 19:51:27 +0000 |
commit | 8feaa39e16ba33a192b32097e8087c9aca2d27d8 (patch) | |
tree | f414a57f7689d13a3dff8d55c290f80ba0bcb373 /src/identity-provider/identity_provider.h | |
parent | 35262a0fe27afccb154122f113adcc75947ee45d (diff) | |
download | gnunet-8feaa39e16ba33a192b32097e8087c9aca2d27d8.tar.gz gnunet-8feaa39e16ba33a192b32097e8087c9aca2d27d8.zip |
- update
Diffstat (limited to 'src/identity-provider/identity_provider.h')
-rw-r--r-- | src/identity-provider/identity_provider.h | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/src/identity-provider/identity_provider.h b/src/identity-provider/identity_provider.h index 63e362117..12b96a51c 100644 --- a/src/identity-provider/identity_provider.h +++ b/src/identity-provider/identity_provider.h | |||
@@ -41,7 +41,7 @@ struct GNUNET_IDENTITY_PROVIDER_Token | |||
41 | /** | 41 | /** |
42 | * The JWT representation of the identity token | 42 | * The JWT representation of the identity token |
43 | */ | 43 | */ |
44 | char *data; | 44 | const char *data; |
45 | }; | 45 | }; |
46 | 46 | ||
47 | /** | 47 | /** |
@@ -52,7 +52,7 @@ struct GNUNET_IDENTITY_PROVIDER_Ticket | |||
52 | /** | 52 | /** |
53 | * The Base64 representation of the ticket | 53 | * The Base64 representation of the ticket |
54 | */ | 54 | */ |
55 | char *data; | 55 | const char *data; |
56 | }; | 56 | }; |
57 | 57 | ||
58 | /** | 58 | /** |
@@ -143,17 +143,6 @@ struct GNUNET_IDENTITY_PROVIDER_ExchangeMessage | |||
143 | */ | 143 | */ |
144 | struct GNUNET_CRYPTO_EcdsaPrivateKey aud_privkey; | 144 | struct GNUNET_CRYPTO_EcdsaPrivateKey aud_privkey; |
145 | 145 | ||
146 | |||
147 | /** | ||
148 | * Number of bytes in ticket string including 0-termination, in NBO. | ||
149 | */ | ||
150 | uint16_t name_len GNUNET_PACKED; | ||
151 | |||
152 | /** | ||
153 | * Always zero. | ||
154 | */ | ||
155 | uint16_t reserved GNUNET_PACKED; | ||
156 | |||
157 | /* followed by 0-terminated ticket string */ | 146 | /* followed by 0-terminated ticket string */ |
158 | 147 | ||
159 | }; | 148 | }; |