Index: tboot-1.7.0/lcptools/mlehash.c =================================================================== --- tboot-1.7.0.orig/lcptools/mlehash.c +++ tboot-1.7.0/lcptools/mlehash.c @@ -233,8 +233,8 @@ static void print_dump(uint32_t s, uint3 */ static bool read_file(const char *filename, void **buffer, size_t *length) { - FILE *fcompressed = NULL; - FILE *fdecompressed = NULL; + gzFile fcompressed = NULL; + FILE *fdecompressed = NULL; struct stat filestat; char tmpbuffer[1024]; unsigned long i;