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

Force #pragma pack(1) for struct hccapx

This commit is contained in:
Jens Steube 2017-02-07 11:19:09 +01:00
parent 65d5921eda
commit c1f0adebe6

View File

@ -812,6 +812,9 @@ typedef struct struct_psafe2_hdr
#define HCCAPX_SIGNATURE 0x58504348 // HCPX
// this is required to force mingw to accept the packed attribute
#pragma pack(push,1)
struct hccapx
{
u32 signature;
@ -832,6 +835,8 @@ struct hccapx
typedef struct hccapx hccapx_t;
#pragma pack(pop)
/**
* hashtypes enums
*/