projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
967ec73
)
ANDROID: dm: fix signature verification flag
author
Badhri Jagan Sridharan
<Badhri@google.com>
Fri, 20 May 2016 23:44:19 +0000
(16:44 -0700)
committer
Amit Pundir
<amit.pundir@linaro.org>
Thu, 18 Aug 2016 13:26:03 +0000
(18:56 +0530)
The bug was that the signature verification was only
happening when verity was disabled. It should always
happen when verity is enabled.
Signed-off-by: Badhri Jagan Sridharan <Badhri@google.com>
Change-Id: I2d9354e240d36ea06fc68c2d18d8e87b823a4c2f
(cherry picked from commit
5364b5ca0b1a12a58283b51408e43fc36d4e4fe7
)
drivers/md/dm-android-verity.c
patch
|
blob
|
history
diff --git
a/drivers/md/dm-android-verity.c
b/drivers/md/dm-android-verity.c
index 9c26cbb5f1797b8c6a441cb919efbf6d8c8bec48..00275a986d037d68d66f50ab6c41f8de979707c2 100644
(file)
--- a/
drivers/md/dm-android-verity.c
+++ b/
drivers/md/dm-android-verity.c
@@
-667,7
+667,7
@@
static int android_verity_ctr(struct dm_target *ti, unsigned argc, char **argv)
goto free_metadata;
}
- if (
!
verity_enabled) {
+ if (verity_enabled) {
err = verify_verity_signature(key_id, metadata);
if (err) {