From 772e4aa26a2a0b21b667c54a11e05eae183e0915 Mon Sep 17 00:00:00 2001 From: Timo Teras Date: Tue, 21 Jul 2009 18:25:22 +0300 Subject: various: fix installation of new style apks --- src/package.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/package.c') diff --git a/src/package.c b/src/package.c index 44b4232..16d72f9 100644 --- a/src/package.c +++ b/src/package.c @@ -330,7 +330,8 @@ int apk_sign_ctx_process_file(struct apk_sign_ctx *ctx, ctx->num_signatures++; /* Found already a trusted key */ - if (ctx->signature.pkey != NULL) + if (ctx->action != APK_SIGN_VERIFY || + ctx->signature.pkey != NULL) return 0; if (strncmp(&fi->name[6], "RSA.", 4) == 0 || -- cgit v1.2.3-60-g2f50