diff options
Diffstat (limited to 'src/add.c')
-rw-r--r-- | src/add.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -128,8 +128,8 @@ static int add_main(void *ctx, int argc, char **argv) goto err; } - /* FIXME: should verify the package too */ - apk_sign_ctx_init(&sctx, APK_SIGN_GENERATE, NULL); + apk_sign_ctx_init(&sctx, APK_SIGN_VERIFY_AND_GENERATE, + NULL); r = apk_pkg_read(&db, argv[i], &sctx, &pkg); apk_sign_ctx_free(&sctx); if (r != 0) { |