diff options
author | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 12:17:06 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2011-01-01 12:17:06 +0200 |
commit | 0cc41ba4dc47561f8a2299b985be777c2befdb74 (patch) | |
tree | 706c3d655c2068179fd9e78540e8b129369b2316 /src/package.c | |
parent | b01d144c6922384921f808b190430ad7aa114010 (diff) | |
download | apk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.gz apk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.bz2 apk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.tar.xz apk-tools-0cc41ba4dc47561f8a2299b985be777c2befdb74.zip |
index: remove support of old index format
It's no longer needed or used.
Diffstat (limited to 'src/package.c')
-rw-r--r-- | src/package.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/package.c b/src/package.c index db10802..d79fc4a 100644 --- a/src/package.c +++ b/src/package.c @@ -367,11 +367,6 @@ void apk_sign_ctx_init(struct apk_sign_ctx *ctx, int action, } memcpy(&ctx->identity, identity, sizeof(ctx->identity)); break; - case APK_SIGN_GENERATE_V1: - ctx->md = EVP_md5(); - ctx->control_started = 1; - ctx->data_started = 1; - break; case APK_SIGN_GENERATE: case APK_SIGN_VERIFY_AND_GENERATE: ctx->md = EVP_sha1(); @@ -574,7 +569,6 @@ int apk_sign_ctx_mpart_cb(void *ctx, int part, apk_blob_t data) sctx->data_verified = 1; break; case APK_SIGN_GENERATE: - case APK_SIGN_GENERATE_V1: /* Package identity is the checksum */ sctx->identity.type = EVP_MD_CTX_size(&sctx->mdctx); EVP_DigestFinal_ex(&sctx->mdctx, sctx->identity.data, NULL); |