OSDN Git Service

fix endianness problem with the tail of the signature comment
authorDoug Zongker <dougz@android.com>
Fri, 14 Aug 2009 23:42:35 +0000 (16:42 -0700)
committerDoug Zongker <dougz@android.com>
Sat, 15 Aug 2009 00:15:46 +0000 (17:15 -0700)
commitbadd2ca451ee7a408f55632025cbe69649b426b5
treee0d1ed1ab56b63d56797a8214655764c8c1b2891
parent09cf56001a214bdb22b720c323b9c7c73feea63f
fix endianness problem with the tail of the signature comment

The two 0xff bytes were intended to easily distinguish files with
whole file signatures from those without, but I got the endianness
backwards.  Go ahead and fix that, as long as I'm making changes to
the verifier anyway.

Check for a signature that includes the sequence 0x50 0x4b 0x05 0x06,
which looks to minzip like the start of the EOCD block.
tools/signapk/SignApk.java