| Index: src/platform/vboot_reference/crypto/rsa.c
|
| diff --git a/src/platform/vboot_reference/crypto/rsa.c b/src/platform/vboot_reference/crypto/rsa.c
|
| index 372b73d2b0717c4e27196b9b5f1069e7f94c0860..d23be89c9b5d60c3cce7ab2dbd663fa6e831c124 100644
|
| --- a/src/platform/vboot_reference/crypto/rsa.c
|
| +++ b/src/platform/vboot_reference/crypto/rsa.c
|
| @@ -147,7 +147,7 @@ int RSA_verify(const RSAPublicKey *key,
|
| return 0;
|
| }
|
|
|
| - if (key->len != siglen_map[sig_type]) {
|
| + if (key->len != siglen_map[sig_type] / sizeof(uint32_t)) {
|
| fprintf(stderr, "Wrong key passed in!\n");
|
| return 0;
|
| }
|
|
|