diff options
Diffstat (limited to 'src/service/reclaim/reclaim.h')
-rw-r--r-- | src/service/reclaim/reclaim.h | 26 |
1 files changed, 16 insertions, 10 deletions
diff --git a/src/service/reclaim/reclaim.h b/src/service/reclaim/reclaim.h index 9d5118269..1fb50eafe 100644 --- a/src/service/reclaim/reclaim.h +++ b/src/service/reclaim/reclaim.h | |||
@@ -420,13 +420,13 @@ struct IssueTicketMessage | |||
420 | uint16_t key_len GNUNET_PACKED; | 420 | uint16_t key_len GNUNET_PACKED; |
421 | 421 | ||
422 | /** | 422 | /** |
423 | * The length of the relying party public key | 423 | * The length of the relying party URI |
424 | */ | 424 | */ |
425 | uint16_t pkey_len GNUNET_PACKED; | 425 | uint16_t rp_uri_len GNUNET_PACKED; |
426 | 426 | ||
427 | /** | 427 | /** |
428 | * Followed by the private key. | 428 | * Followed by the private key. |
429 | * Followed by the public key. | 429 | * Followed by the RP URI. |
430 | * Followed by a serialized attribute list | 430 | * Followed by a serialized attribute list |
431 | */ | 431 | */ |
432 | }; | 432 | }; |
@@ -506,12 +506,18 @@ struct TicketResultMessage | |||
506 | uint16_t tkt_len GNUNET_PACKED; | 506 | uint16_t tkt_len GNUNET_PACKED; |
507 | 507 | ||
508 | /** | 508 | /** |
509 | * RP URI length | ||
510 | */ | ||
511 | uint16_t rp_uri_len GNUNET_PACKED; | ||
512 | |||
513 | /** | ||
509 | * Length of new presentations created | 514 | * Length of new presentations created |
510 | */ | 515 | */ |
511 | uint16_t presentations_len GNUNET_PACKED; | 516 | uint16_t presentations_len GNUNET_PACKED; |
512 | 517 | ||
513 | /* | 518 | /* |
514 | * Followed by the serialized ticket | 519 | * Followed by the serialized ticket |
520 | * Followed by the RP URI | ||
515 | * Followed by the serialized GNUNET_RECLAIM_PresentationList | 521 | * Followed by the serialized GNUNET_RECLAIM_PresentationList |
516 | */ | 522 | */ |
517 | }; | 523 | }; |
@@ -532,18 +538,18 @@ struct ConsumeTicketMessage | |||
532 | uint32_t id GNUNET_PACKED; | 538 | uint32_t id GNUNET_PACKED; |
533 | 539 | ||
534 | /** | 540 | /** |
535 | * The length of the private key | 541 | * The length of the ticket |
536 | */ | 542 | */ |
537 | uint16_t key_len GNUNET_PACKED; | 543 | uint16_t tkt_len GNUNET_PACKED; |
538 | 544 | ||
539 | /** | 545 | /** |
540 | * The length of the ticket | 546 | * RP URI length |
541 | */ | 547 | */ |
542 | uint16_t tkt_len GNUNET_PACKED; | 548 | uint16_t rp_uri_len GNUNET_PACKED; |
543 | 549 | ||
544 | /** | 550 | /** |
545 | * Followed by the private key. | ||
546 | * Followed by the serialized ticket. | 551 | * Followed by the serialized ticket. |
552 | * Followed by the RP URI | ||
547 | */ | 553 | */ |
548 | }; | 554 | }; |
549 | 555 | ||
@@ -583,12 +589,12 @@ struct ConsumeTicketResultMessage | |||
583 | uint16_t presentations_len; | 589 | uint16_t presentations_len; |
584 | 590 | ||
585 | /** | 591 | /** |
586 | * The length of the private key | 592 | * The length of the identity public key |
587 | */ | 593 | */ |
588 | uint16_t key_len GNUNET_PACKED; | 594 | uint16_t key_len GNUNET_PACKED; |
589 | 595 | ||
590 | /** | 596 | /** |
591 | * Followed by the private key. | 597 | * Followed by the identity public key. |
592 | * followed by: | 598 | * followed by: |
593 | * serialized attributes data | 599 | * serialized attributes data |
594 | */ | 600 | */ |