am 4762633c: log which key a package verified against in recovery

* commit '4762633cf846d17516878303502b056b52353a5d':
  log which key a package verified against in recovery
This commit is contained in:
Doug Zongker
2011-03-15 13:47:23 -07:00
committed by Android Git Automerger

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;
}