summaryrefslogtreecommitdiff
path: root/rbutil/sansapatcher/sansapatcher.c
diff options
context:
space:
mode:
Diffstat (limited to 'rbutil/sansapatcher/sansapatcher.c')
-rw-r--r--rbutil/sansapatcher/sansapatcher.c4
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)
333 int2le(mi4header->mi4size ,buf+0x14); 333 int2le(mi4header->mi4size ,buf+0x14);
334 int2le(mi4header->plaintext ,buf+0x18); 334 int2le(mi4header->plaintext ,buf+0x18);
335 335
336 /* Add a dummy DSA signature */
337 memset(buf+0x1c,0,40);
338 buf[0x2f] = 1;
339
336 return 0; 340 return 0;
337} 341}
338 342