diff options
Diffstat (limited to 'src/package.c')
-rw-r--r-- | src/package.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/package.c b/src/package.c index 5db77ec..6e7a062 100644 --- a/src/package.c +++ b/src/package.c @@ -488,7 +488,7 @@ void apk_sign_ctx_init(struct apk_sign_ctx *ctx, int action, ctx->md = EVP_sha1(); break; default: - action = APK_SIGN_NONE; + ctx->action = APK_SIGN_NONE; ctx->md = EVP_md_null(); ctx->control_started = 1; ctx->data_started = 1; |