Index: utility/vbutil_kernel.c |
diff --git a/utility/vbutil_kernel.c b/utility/vbutil_kernel.c |
index eeae96e13d1ea160c818ccd5e63380e14300c6f8..763480e35f0f415758e7ca21680aa33c132a7504 100644 |
--- a/utility/vbutil_kernel.c |
+++ b/utility/vbutil_kernel.c |
@@ -641,7 +641,8 @@ static int Verify(const char* infile, const char* signpubkey, int verbose) { |
/* Verify key block */ |
key_block = bp->key_block; |
- if (0 != KeyBlockVerify(key_block, bp->blob_size, sign_key)) { |
+ if (0 != KeyBlockVerify(key_block, bp->blob_size, sign_key, |
+ (sign_key ? 0 : 1))) { |
error("Error verifying key block.\n"); |
goto verify_exit; |
} |