mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
Signature EMILE_06_SIGNATURE is in fact the good one
This commit is contained in:
parent
b27c53bb00
commit
f983467b0c
@ -22,7 +22,7 @@ char* emile_second_get_configuration(int fd)
|
||||
if (ret != sizeof(header))
|
||||
return NULL;
|
||||
|
||||
if (!EMILE_COMPAT(EMILE_07_SIGNATURE, read_long(&header.signature)))
|
||||
if (!EMILE_COMPAT(EMILE_06_SIGNATURE, read_long(&header.signature)))
|
||||
return NULL;
|
||||
|
||||
size = read_short(&header.conf_size);
|
||||
|
@ -30,7 +30,7 @@ int emile_second_set_configuration(int fd, char *configuration)
|
||||
if (ret != sizeof(header))
|
||||
return EEMILE_CANNOT_READ_SECOND;
|
||||
|
||||
if (!EMILE_COMPAT(EMILE_07_SIGNATURE, read_long(&header.signature)))
|
||||
if (!EMILE_COMPAT(EMILE_06_SIGNATURE, read_long(&header.signature)))
|
||||
return EEMILE_INVALID_SECOND;
|
||||
|
||||
size = read_short(&header.conf_size);
|
||||
|
Loading…
Reference in New Issue
Block a user