2 Commits
v1.8 ... v1.8.1

Author SHA1 Message Date
Joshua Hudson
92f3cac49f Fix Xcode 8.3 warnings 2017-04-12 09:52:48 -07:00
Joshua Hudson
fc57a16b98 podspec update 2017-04-10 17:45:25 -07:00
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
PODS:
- SSZipArchive (1.7)
- SSZipArchive (1.8)
DEPENDENCIES:
- SSZipArchive (from `..`)
@@ -9,7 +9,7 @@ EXTERNAL SOURCES:
:path: ".."
SPEC CHECKSUMS:
SSZipArchive: 63f8e11cfcc33e03e4cd666b4359ea8bd6facd0c
SSZipArchive: bcc95475eec29f3f60079b6b0714e4cd6c05e1eb
PODFILE CHECKSUM: ae5fb993e5dc339b15e10067d1e60549fa585f32

View File

@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'SSZipArchive'
s.version = '1.7'
s.version = '1.8.1'
s.summary = 'Utility class for zipping and unzipping files on iOS, tvOS, watchOS, and Mac.'
s.description = 'SSZipArchive is a simple utility class for zipping and unzipping files on iOS, tvOS, watchOS, and Mac.'
s.homepage = 'https://github.com/ZipArchive/ZipArchive'

View File

@@ -1206,7 +1206,7 @@ extern int ZEXPORT unzOpenCurrentFile3(unzFile file, int *method, int *level, in
if (ZREAD64(s->z_filefunc, s->filestream, passverify_archive, AES_PWVERIFYSIZE) != AES_PWVERIFYSIZE)
return UNZ_INTERNALERROR;
fcrypt_init(s->cur_file_info_internal.aes_encryption_mode, password, strlen(password), saltvalue,
fcrypt_init((unsigned int)s->cur_file_info_internal.aes_encryption_mode, (unsigned char *)password, (unsigned int)strlen(password), saltvalue,
passverify_password, &s->pfile_in_zip_read->aes_ctx);
if (memcmp(passverify_archive, passverify_password, AES_PWVERIFYSIZE) != 0)