summaryrefslogtreecommitdiff
path: root/host/lib21/include/host_fw_preamble2.h
diff options
context:
space:
mode:
Diffstat (limited to 'host/lib21/include/host_fw_preamble2.h')
-rw-r--r--host/lib21/include/host_fw_preamble2.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/host/lib21/include/host_fw_preamble2.h b/host/lib21/include/host_fw_preamble2.h
index e759edc5..d0bed1ef 100644
--- a/host/lib21/include/host_fw_preamble2.h
+++ b/host/lib21/include/host_fw_preamble2.h
@@ -24,12 +24,10 @@ struct vb21_signature;
* @param desc Description for preamble, or NULL if none
* @return VB2_SUCCESS, or non-zero error code if failure.
*/
-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);
#endif /* VBOOT_REFERENCE_HOST_FW_PREAMBLE2_H_ */