diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2017-10-05 22:44:56 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2017-10-05 22:44:56 +0200 |
commit | 1731fbd017731df1f3f88bd4b3beac765996a1ad (patch) | |
tree | 7eefd76c1b802dac98008f174f3a47477d652544 /src/identity-provider/identity_provider.h | |
parent | 76817ee408cff4aee534d6016423c8a4ecb5555f (diff) | |
download | gnunet-1731fbd017731df1f3f88bd4b3beac765996a1ad.tar.gz gnunet-1731fbd017731df1f3f88bd4b3beac765996a1ad.zip |
-fix bugs
Diffstat (limited to 'src/identity-provider/identity_provider.h')
-rw-r--r-- | src/identity-provider/identity_provider.h | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/identity-provider/identity_provider.h b/src/identity-provider/identity_provider.h index 434af4d8c..96bed18f4 100644 --- a/src/identity-provider/identity_provider.h +++ b/src/identity-provider/identity_provider.h | |||
@@ -455,6 +455,42 @@ struct ConsumeTicketMessage | |||
455 | //Followed by a serialized ticket | 455 | //Followed by a serialized ticket |
456 | }; | 456 | }; |
457 | 457 | ||
458 | /** | ||
459 | * Attribute list is returned from the idp. | ||
460 | */ | ||
461 | struct ConsumeTicketResultMessage | ||
462 | { | ||
463 | /** | ||
464 | * Message header | ||
465 | */ | ||
466 | struct GNUNET_MessageHeader header; | ||
467 | |||
468 | /** | ||
469 | * Unique identifier for this request (for key collisions). | ||
470 | */ | ||
471 | uint32_t id GNUNET_PACKED; | ||
472 | |||
473 | /** | ||
474 | * Length of serialized attribute data | ||
475 | */ | ||
476 | uint16_t attrs_len GNUNET_PACKED; | ||
477 | |||
478 | /** | ||
479 | * always zero (for alignment) | ||
480 | */ | ||
481 | uint16_t reserved GNUNET_PACKED; | ||
482 | |||
483 | /** | ||
484 | * The public key of the identity. | ||
485 | */ | ||
486 | struct GNUNET_CRYPTO_EcdsaPublicKey identity; | ||
487 | |||
488 | /* followed by: | ||
489 | * serialized attributes data | ||
490 | */ | ||
491 | }; | ||
492 | |||
493 | |||
458 | 494 | ||
459 | GNUNET_NETWORK_STRUCT_END | 495 | GNUNET_NETWORK_STRUCT_END |
460 | 496 | ||