diff options
author | Dave Chapman <dave@dchapman.com> | 2007-03-15 23:41:08 +0000 |
---|---|---|
committer | Dave Chapman <dave@dchapman.com> | 2007-03-15 23:41:08 +0000 |
commit | 7b8bf1b0e764df17c62f90bd34b06b5121a26cf2 (patch) | |
tree | a221e51f7f818c15e2dd621ef073d3754036cd92 /rbutil/sansapatcher/sansapatcher.c | |
parent | e815601afb0eabe1ef59a2e8d1e0a746c4c33c34 (diff) |
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
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.c')
-rw-r--r-- | rbutil/sansapatcher/sansapatcher.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rbutil/sansapatcher/sansapatcher.c b/rbutil/sansapatcher/sansapatcher.c index 3c6848e6d4..cc1cc8a0a4 100644 --- a/rbutil/sansapatcher/sansapatcher.c +++ b/rbutil/sansapatcher/sansapatcher.c @@ -333,6 +333,10 @@ static int set_mi4header(unsigned char* buf,struct mi4header_t* mi4header) int2le(mi4header->mi4size ,buf+0x14); int2le(mi4header->plaintext ,buf+0x18); + /* Add a dummy DSA signature */ + memset(buf+0x1c,0,40); + buf[0x2f] = 1; + return 0; } |