diff options
Diffstat (limited to 'host/lib21/host_fw_preamble.c')
-rw-r--r-- | host/lib21/host_fw_preamble.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/host/lib21/host_fw_preamble.c b/host/lib21/host_fw_preamble.c index ebe3ce94..7220b32e 100644 --- a/host/lib21/host_fw_preamble.c +++ b/host/lib21/host_fw_preamble.c @@ -16,13 +16,11 @@ #include "host_signature2.h" #include "vb21_common.h" -int vb21_fw_preamble_create(struct vb21_fw_preamble **fp_ptr, - const struct vb2_private_key *signing_key, - const struct vb21_signature **hash_list, - uint32_t hash_count, - uint32_t fw_version, - uint32_t flags, - const char *desc) +vb2_error_t vb21_fw_preamble_create(struct vb21_fw_preamble **fp_ptr, + const struct vb2_private_key *signing_key, + const struct vb21_signature **hash_list, + uint32_t hash_count, uint32_t fw_version, + uint32_t flags, const char *desc) { struct vb21_fw_preamble fp = { .c.magic = VB21_MAGIC_FW_PREAMBLE, |