forked from len0rd/rockbox
Oops, forgot to add the dummy DSA signature to created MI4 images/files
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12795 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e815601afb
commit
7b8bf1b0e7
1 changed files with 4 additions and 0 deletions
|
@ -333,6 +333,10 @@ static int set_mi4header(unsigned char* buf,struct mi4header_t* mi4header)
|
||||||
int2le(mi4header->mi4size ,buf+0x14);
|
int2le(mi4header->mi4size ,buf+0x14);
|
||||||
int2le(mi4header->plaintext ,buf+0x18);
|
int2le(mi4header->plaintext ,buf+0x18);
|
||||||
|
|
||||||
|
/* Add a dummy DSA signature */
|
||||||
|
memset(buf+0x1c,0,40);
|
||||||
|
buf[0x2f] = 1;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue