diff options
Diffstat (limited to 'utils')
-rw-r--r-- | utils/imxtools/sbtools/sb.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/imxtools/sbtools/sb.c b/utils/imxtools/sbtools/sb.c index c005b07ff7..145df39762 100644 --- a/utils/imxtools/sbtools/sb.c +++ b/utils/imxtools/sbtools/sb.c | |||
@@ -938,6 +938,8 @@ struct sb_file_t *sb_read_memory(void *_buf, size_t filesize, unsigned flags, vo | |||
938 | memcpy(sb_file->real_key, real_key, 16); | 938 | memcpy(sb_file->real_key, real_key, 16); |
939 | memcpy(sb_file->crypto_iv, buf, 16); | 939 | memcpy(sb_file->crypto_iv, buf, 16); |
940 | } | 940 | } |
941 | else | ||
942 | valid_key = true; | ||
941 | 943 | ||
942 | /* sections */ | 944 | /* sections */ |
943 | if(!(flags & SB_RAW_MODE)) | 945 | if(!(flags & SB_RAW_MODE)) |