common/vboot/vb21_lib.c: Format with clang-format
BRANCH=none
TEST=none
@@ -52,7 +52,6 @@ const struct vb21_packed_key *vb21_get_packed_key(void)
static void read_rwsig_info(struct ec_response_rwsig_info *r)
{
-
const struct vb21_packed_key *vb21_key;
int rv;
@@ -61,10 +60,14 @@ static void read_rwsig_info(struct ec_response_rwsig_info *r)
r->sig_alg = vb21_key->sig_alg;
r->hash_alg = vb21_key->hash_alg;
r->key_version = vb21_key->key_version;
- { BUILD_ASSERT(sizeof(r->key_id) == sizeof(vb21_key->id),
- "key ID sizes must match"); }
- { BUILD_ASSERT(sizeof(vb21_key->id) == sizeof(vb21_key->id.raw),
- "key ID sizes must match"); }
+ {
+ BUILD_ASSERT(sizeof(r->key_id) == sizeof(vb21_key->id),
+ "key ID sizes must match");
+ }
+ {
+ BUILD_ASSERT(sizeof(vb21_key->id) == sizeof(vb21_key->id.raw),
+ "key ID sizes must match");
+ }
memcpy(r->key_id, vb21_key->id.raw, sizeof(r->key_id));
rv = vb21_is_packed_key_valid(vb21_key);
