summaryrefslogtreecommitdiff
path: root/utility/load_kernel_test.c
diff options
context:
space:
mode:
Diffstat (limited to 'utility/load_kernel_test.c')
-rw-r--r--utility/load_kernel_test.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/utility/load_kernel_test.c b/utility/load_kernel_test.c
index 331e57ad..c2ff61e6 100644
--- a/utility/load_kernel_test.c
+++ b/utility/load_kernel_test.c
@@ -184,7 +184,8 @@ int main(int argc, char* argv[]) {
}
/* Copy in the key blob, if any */
if (key_blob) {
- if (0 != VbSharedDataSetKernelKey(shared, (VbPublicKey*)key_blob)) {
+ if (0 != VbSharedDataSetKernelKey(shared,
+ (struct vb2_packed_key *)key_blob)) {
fprintf(stderr, "Unable to set key in shared data\n");
return 1;
}