forked from pool/tboot
OBS-URL: https://build.opensuse.org/package/show/security/tboot?expand=0&rev=13
16 lines
533 B
Diff
16 lines
533 B
Diff
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;
|