mirror of
https://github.com/chipsec/chipsec
synced 2026-06-08 13:31:00 +00:00
a8fb150415
In `SPI.write_spi`, When `len(buf) % 4 != 0`, a dword value to be written is computed with `ord(buf[...])`. This does not work, as in Python 3, `buf[...]` directly gives an integer. Fix this issue by removing the call to `ord`. Fixes: https://github.com/chipsec/chipsec/issues/1775 Signed-off-by: Nicolas Iooss <nicolas.iooss_git@polytechnique.org>