commit | fa8d2dfeeebe3b7885243d8ff9ce8e7446cc2d2c | [log] [tgz] |
---|---|---|
author | Jocelyn Bohr <bohr@google.com> | Tue Jan 31 15:42:23 2017 -0800 |
committer | Jocelyn Bohr <bohr@google.com> | Tue Apr 11 00:54:39 2017 +0000 |
tree | a48577bc97b6369bd14ecde5baa2dd7e06992e20 | |
parent | 3e5cdb9dc825570d166fc560af71317e404f9ef7 [diff] |
Disallow short enums for keymaster The Keymaster module assumes the size of any enum type is 32 bits. This change builds the keymaster module with -fno-short-enums, forcing enums to be 32 bits wide. Test: without this change, sizeof(keymaster_algorithm_t) == 1 with this change, sizeof(keymaster_algorithm_t) == 4 Change-Id: I96d9b55ed38643d66e4c59194f80a850610daaef