mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
Set aes option when creating archive in minizip. #525
This commit is contained in:
parent
1561db36c6
commit
808ba3b9c4
@ -273,6 +273,7 @@ int32_t minizip_add(const char *path, const char *password, minizip_opt *options
|
||||
/* Create zip writer */
|
||||
mz_zip_writer_create(&writer);
|
||||
mz_zip_writer_set_password(writer, password);
|
||||
mz_zip_writer_set_aes(writer, options->aes);
|
||||
mz_zip_writer_set_compress_method(writer, options->compress_method);
|
||||
mz_zip_writer_set_compress_level(writer, options->compress_level);
|
||||
mz_zip_writer_set_follow_links(writer, options->follow_links);
|
||||
|
Loading…
x
Reference in New Issue
Block a user