From 4762633cf846d17516878303502b056b52353a5d Mon Sep 17 00:00:00 2001 From: Doug Zongker Date: Tue, 15 Mar 2011 12:11:08 -0700 Subject: log which key a package verified against in recovery Change-Id: I0d91b715d1eb9e45e2fce54bb93ba0abef92727e --- verifier.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/verifier.c b/verifier.c index 9d39fd139..729e085cf 100644 --- a/verifier.c +++ b/verifier.c @@ -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; } -- cgit v1.2.3