Commit 0ccce2f
committed
bootutil: In boot_swap_image add return check from boot_read_enc_key
Check return code instead of running loop over the key,
to check if it has been read correctly.
Signed-off-by: Dominik Ermel <[email protected]>1 parent 32b3c18 commit 0ccce2f
1 file changed
+4
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1105 | 1105 | | |
1106 | 1106 | | |
1107 | 1107 | | |
1108 | | - | |
1109 | 1108 | | |
1110 | 1109 | | |
1111 | 1110 | | |
| |||
1193 | 1192 | | |
1194 | 1193 | | |
1195 | 1194 | | |
1196 | | - | |
1197 | | - | |
1198 | | - | |
1199 | | - | |
1200 | | - | |
1201 | | - | |
1202 | | - | |
1203 | | - | |
1204 | | - | |
| 1195 | + | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
1205 | 1199 | | |
1206 | 1200 | | |
1207 | 1201 | | |
| |||
0 commit comments