diff options
author | Timo Teras <timo.teras@iki.fi> | 2009-07-20 11:13:03 +0300 |
---|---|---|
committer | Timo Teras <timo.teras@iki.fi> | 2009-07-20 11:13:03 +0300 |
commit | eca9c22205105eba20e1e28ddae8ad9da81c5323 (patch) | |
tree | 3a31082b2a5082c10047249a0348478f77c93cf7 /src/add.c | |
parent | 99be653f141f57e1474bd645efd770aa3e3bd68f (diff) | |
download | apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.gz apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.bz2 apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.tar.xz apk-tools-eca9c22205105eba20e1e28ddae8ad9da81c5323.zip |
db: signed index loading (ref #46)
prefer index in the new format as signed .tar.gz.
Diffstat (limited to 'src/add.c')
-rw-r--r-- | src/add.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -119,7 +119,7 @@ static int add_main(void *ctx, int argc, char **argv) struct apk_package *pkg; struct apk_sign_ctx sctx; - apk_sign_ctx_init(&sctx, APK_SIGN_VERIFY); + apk_sign_ctx_init(&sctx, APK_SIGN_VERIFY, NULL); pkg = apk_pkg_read(&db, argv[i], &sctx); apk_sign_ctx_free(&sctx); if (pkg == NULL) { |