1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

Fix merge mistake

This commit is contained in:
Jukka Ojanen 2021-09-02 12:08:36 +03:00
parent 213b533975
commit 5baaa4fb0f

View File

@ -149,6 +149,8 @@ bool hc_fopen (HCFILE *fp, const char *path, const char *mode)
if (is_gzip)
{
if ((fp->gfp = gzdopen (fp->fd, mode)) == NULL) return false;
gzbuffer (fp->gfp, HCFILE_BUFFER_SIZE);
}
else if (is_zip)
{
@ -165,8 +167,6 @@ bool hc_fopen (HCFILE *fp, const char *path, const char *mode)
Crc64GenerateTable ();
Sha256Prepare ();
xz_initialized = true;
gzbuffer (fp->gfp, HCFILE_BUFFER_SIZE);
}
xzfile_t *xfp = (xzfile_t *) hccalloc (1, sizeof (*xfp));