log which key a package verified against in recovery

Change-Id: I0d91b715d1eb9e45e2fce54bb93ba0abef92727e
This commit is contained in:
Doug Zongker 2011-03-15 12:11:08 -07:00
parent 6e4472abbd
commit 4762633cf8

View File

@ -173,7 +173,7 @@ int verify_file(const char* path, const RSAPublicKey *pKeys, unsigned int numKey
// the signing tool appends after the signature itself.
if (RSA_verify(pKeys+i, eocd + eocd_size - 6 - RSANUMBYTES,
RSANUMBYTES, sha1)) {
LOGI("whole-file signature verified\n");
LOGI("whole-file signature verified against key %d\n", i);
free(eocd);
return VERIFY_SUCCESS;
}