From 3c3b809cb8ba8c440353a0f0849f8c37e5f1ca1d Mon Sep 17 00:00:00 2001 From: Cyril Bur Date: Mon, 19 Mar 2018 15:54:15 +1100 Subject: libstb/create-container: munmap() signature file address I also couldn't ignore that the same function had both a void *infile and a char *inFile. The inFile variable is clearly a filename, why not call it that. Fixes: CID 263054 and 263051 Signed-off-by: Cyril Bur Signed-off-by: Stewart Smith --- libstb/container.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libstb/container.h') diff --git a/libstb/container.h b/libstb/container.h index c125bc1..0d0acb2 100644 --- a/libstb/container.h +++ b/libstb/container.h @@ -149,9 +149,9 @@ int parse_stb_container(const void* data, size_t len, struct parsed_stb_containe void stb_print_data(const void *data, size_t len); -void getPublicKeyRaw(ecc_key_t *pubkeyraw, char *inFile); +void getPublicKeyRaw(ecc_key_t *pubkeyraw, char *filename); -void getSigRaw(ecc_signature_t *sigraw, char *inFile); +void getSigRaw(ecc_signature_t *sigraw, char *filename); void writeHdr(void *ph, const char *outFile, int hdr_type); -- cgit v1.1