diff options
author | Tom Rini <trini@konsulko.com> | 2019-06-21 14:11:11 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-06-21 14:11:11 -0400 |
commit | 271dc9ce7f9652e2fe3794871900fef292a9777b (patch) | |
tree | 809041444563947c9df97e6e7149abf79c9431b6 /common/image-sig.c | |
parent | 226a35ef0ef310d8fffa3e6283ee3aab9dab26aa (diff) | |
parent | f5128514137633ee951b1c484945bec9092c4e99 (diff) |
Merge branch '2019-06-21-master-imports'
- Assorted small fixes
- Bugfix RSA handling code to reject images with unknown padding.
- Some boards disabled unused features to turn off DM warnings.
Diffstat (limited to 'common/image-sig.c')
-rw-r--r-- | common/image-sig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/image-sig.c b/common/image-sig.c index 4f6b4ec412c..004fbc525b5 100644 --- a/common/image-sig.c +++ b/common/image-sig.c @@ -211,7 +211,7 @@ static int fit_image_setup_verify(struct image_sign_info *info, info->required_keynode = required_keynode; printf("%s:%s", algo_name, info->keyname); - if (!info->checksum || !info->crypto) { + if (!info->checksum || !info->crypto || !info->padding) { *err_msgp = "Unknown signature algorithm"; return -1; } |