mirror of
https://github.com/mtrojnar/osslsigncode.git
synced 2025-07-03 11:42:47 -05:00
Fix update_data_size()
This commit is contained in:

committed by
Michał Trojnara

parent
dd365d68c4
commit
7bfe3b5db9
@ -3547,6 +3547,9 @@ int main(int argc, char **argv)
|
||||
goto skip_signing;
|
||||
} else if (options.cmd == CMD_REMOVE && ctx->format->remove_pkcs7) {
|
||||
ret = ctx->format->remove_pkcs7(ctx, hash, outdata);
|
||||
if (ctx->format->update_data_size) {
|
||||
ctx->format->update_data_size(ctx, outdata, NULL);
|
||||
}
|
||||
goto skip_signing;
|
||||
} else if (ctx->format->pkcs7_prepare) {
|
||||
p7 = ctx->format->pkcs7_prepare(ctx, hash, outdata);
|
||||
|
Reference in New Issue
Block a user