commit | 08be74de678930e6823f9fe7e460c35bb58040f9 | [log] [tgz] |
---|---|---|
author | Vitaly Buka <vitalybuka@google.com> | Tue Feb 02 15:25:09 2016 -0800 |
committer | Vitaly Buka <vitalybuka@google.com> | Thu Feb 04 00:28:37 2016 +0000 |
tree | 0be4471413d73a9463b3cd70212f85a0855faa08 | |
parent | 4efdf4637d19d6fd6c1725820fd07a5702e71a56 [diff] [blame] |
Update libuweave/macaroon code Added delegation time stamp into access token to match changed validation logic of macaroons. BUG: 26728665 Change-Id: I131b92b0e0b1b2274d80bdc0b5790a8c05071ec5 Reviewed-on: https://weave-review.googlesource.com/2467 Reviewed-by: Vitaly Buka <vitalybuka@google.com>
diff --git a/third_party/libuweave/src/macaroon_caveat_internal.h b/third_party/libuweave/src/macaroon_caveat_internal.h index 46a72fb..d6e7b07 100644 --- a/third_party/libuweave/src/macaroon_caveat_internal.h +++ b/third_party/libuweave/src/macaroon_caveat_internal.h
@@ -20,8 +20,7 @@ size_t mac_tag_size); typedef struct { - bool has_issued_time; - uint32_t issued_time; + uint32_t issued_time; // 0 when invalid or not set. } UwMacaroonValidationState; bool uw_macaroon_caveat_init_validation_state_(