commit | 9b901a30b78050bcd46048b7c153b51890a28d75 | [log] [tgz] |
---|---|---|
author | Hasini Gunasinghe <hasinitg@google.com> | Fri Apr 01 00:03:40 2022 +0000 |
committer | CQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Apr 01 17:24:46 2022 +0000 |
tree | 3ed233840add1617e24a9b8f5d727e58f838b25e | |
parent | 459f597e80773422b7250898cdad511aafc16b32 [diff] |
Fix the assignement of the bcc_size. Change-Id: Iaf3ead346a450defc508b59f50e65dba3102beb5 Reviewed-on: https://pigweed-review.googlesource.com/c/open-dice/+/89500 Reviewed-by: Andrew Scull <ascull@google.com> Commit-Queue: Hasini Gunasinghe <hasinitg@google.com>
diff --git a/src/android/bcc.c b/src/android/bcc.c index 1990e5c..8855f71 100644 --- a/src/android/bcc.c +++ b/src/android/bcc.c
@@ -181,7 +181,7 @@ if (result != kDiceResultOk) { return result; } - bcc_size += encoded_size_used + encoded_pub_key_size; + *bcc_size += encoded_size_used + encoded_pub_key_size; out: DiceClearMemory(context, sizeof(current_cdi_private_key_seed),