Commit Graph

50 Commits

Author SHA1 Message Date
Nathan Moinvaziri
354903bce8 Added notice about third party licenses. 2019-11-04 08:57:41 -08:00
Viktor Szakats
b11be60c0c use HTTPS, whitespace and newlines fixes
This is the only remaining HTTP link now: http://result42.com
2019-09-15 18:55:59 +00:00
Antoine Cœur
3318d15d00 Fix minor typos 2019-05-07 12:44:26 +08:00
Nathan Moinvaziri
8d2cf92af6 Fixed iOS compilation after trying to silence compiler warnings. #392 2019-05-06 13:36:11 -07:00
Nathan Moinvaziri
5b0b83c2b8 Revert "Code cleanup."
This reverts commit c1b7a73561.
2019-05-01 09:25:13 -07:00
Nathan Moinvaziri
c1b7a73561 Code cleanup. 2019-04-28 10:23:37 -07:00
Nathan Moinvaziri
a6ecab5fdc Fix/silence code analysis warnings. 2019-01-22 13:14:01 -08:00
Nathan Moinvaziri
554d3ab702 Fixed uninitialized variable warning. 2019-01-22 12:14:04 -08:00
Nathan Moinvaziri
226d905220 Fixed code analysis warnings. 2019-01-22 11:50:18 -08:00
Nathan Moinvaziri
009a37a512 Fixed formatting. 2019-01-22 11:07:23 -08:00
Nathan Moinvaziri
ddeeae3388 Fixed compiler warnings about ss[] possibly undefined. 2018-11-20 16:52:28 -08:00
Nathan Moinvaziri
e231cfd9d8 Fixed compiler warnings. 2018-11-20 13:19:21 -08:00
Nathan Moinvaziri
7de94cf921 Fixed unused variable when HAVE_AES is not defined.
Fixed compiler errors when not using C99 with liblzma.
2018-11-19 20:51:06 -08:00
Nathan Moinvaziri
329ac651d8 Fixed for loop initial declarations are only C99. 2018-11-19 20:36:02 -08:00
Nathan Moinvaziri
1139b468c1 Auto-detect compiler support for liblzma. 2018-11-19 18:46:34 -08:00
Nathan Moinvaziri
d8b232a6e9 Comment out unused #defines. 2018-11-19 18:06:08 -08:00
Nathan Moinvaziri
09e41030a5 Fixed harmless integer overflow. 2018-11-19 17:33:20 -08:00
Viktor Szakats
fcd85ef064 misc fixes
- fix a typo in a cast
- fix wrongly falling into an #if branch meant for MSVC
  when built with clang + mingw-w64
- remove a duplicate option from .travis.yml
- whitespace fixes
2018-11-01 19:31:05 +00:00
Nathan Moinvaziri
eff49b88ce Remove unused set_algorithm function for aes.
Better setting of errors in crypt functions.
Fixed win32 aes key generated incorrectly.
Fixed openssl aes key bits not being set correctly.
Added option to for using BRG library on windows.
Changed low quality entropy error to warning.
2018-11-01 10:32:42 -07:00
Nathan Moinvaziri
648f596a99 Implemented crypt using OpenSSL for linux/mac.
Renamed aes folder after source author Brian Gladman.
Added SHA2 source files.
Added USE_OPENSSL option to cmake.
Changed hash that is stored in zip to SHA256.
Commented out timestamping in windows since openssl does not support out of box.
2018-10-25 19:35:50 -07:00
Nathan Moinvaziri
8875d288db Removed unnecessary derive_key. 2018-10-25 09:01:02 -07:00
Nathan Moinvaziri
e6b6616575 Fixed compiler warnings. 2018-10-08 22:40:38 -07:00
Viktor Szakats
e7215072a0 enable warnings for gcc/clang, misc minor fixes
* enable -W -Wall for gcc and clang
* fix strncpy() calls that may potentially leave the target buffer without
  a terminating zero byte (in mz_zip_rw.c)
* fix warnings
* remove const from mz_path_remove_filename() parameter,
  the function is writing the passed buffer
* fix pedantic warnings (in mz_strm_buf.c):
  warning: suggest braces around empty body in an ‘if’ statement [-Wempty-body]
* fix spaces at EOL
* fix a redefinition warning for HAVE_ARC4RANDOM_BUF on macOS
2018-09-04 22:58:02 +00:00
Nathan Moinvaziri
32a9d34295 Move #defines out of config.h. #286 2018-07-27 10:22:36 -07:00
Nathan Moinvaziri
0fac5e72ec
Fixed formatting. 2018-07-25 09:19:27 -07:00
Cameron Cawley
d195fd3a59 Fix compilation of internal liblzma on non-x86 systems 2018-07-25 16:24:18 +01:00
Nathan Moinvaziri
ef776a31e1 Updated to liblzma 5.2.4. 2018-07-07 11:10:11 -07:00
Nathan Moinvaziri
a30ff41e9d Remove unnecessary aes files. 2018-03-27 20:39:54 -07:00
Nathan Moinvaziri
13a12e32ab Fixed missing prototypes warning. #213 2017-12-26 12:40:30 -08:00
Nathan Moinvaziri
97a759a14b Merged fcrypt since it has limited support. Allows for easy AES library drop-in replacement for products that implement their own aes library. 2017-11-15 21:55:59 -08:00
Nathan Moinvaziri
0cdc6af8cd Added liblzma crc32 functions back in. 2017-11-10 07:34:02 -08:00
Nathan Moinvaziri
f2b096a82e Fixed code that accidentally got removed. 2017-10-26 18:13:13 -07:00
Nathan Moinvaziri
83a886f154 Updated version numbers. 2017-10-26 17:07:14 -07:00
Nathan Moinvaziri
8d2ce022c1 Remove more unused files. 2017-10-26 17:05:32 -07:00
Nathan Moinvaziri
80fa033e18 Remove more unused liblzma files. 2017-10-26 16:46:34 -07:00
Nathan Moinvaziri
bd247ee400 Upgraded to liblzma 5.2.3.
Remove a bunch of unused files from liblzma.
2017-10-26 15:41:21 -07:00
Nathan Moinvaziri
28cc486e44 Remove unused bzip2 file. 2017-10-23 22:43:25 -07:00
Nathan Moinvaziri
44d2079466 Version 2.2.1. 2017-10-23 17:35:22 -07:00
Nathan Moinvaziri
cbc8c816e7 Version 2.2.0. 2017-10-22 14:50:43 -07:00
Nathan Moinvaziri
489eea4e6d Fixed bzip2 not returning read = 0 on next call after end of stream.
Fixed lzma trying to decode uncompressed size which isn't used in zip format.
2017-10-18 11:35:53 -07:00
Nathan Moinvaziri
bc2a8fc501 Fixed gcc compilation. 2017-10-06 14:58:53 -07:00
Antoine Cœur
748499768a lzma doc fix 2017-10-06 11:44:21 +08:00
Nathan Moinvaziri
973457dac8 Added LZMA, BZIP2, and AES command line params to zip cmd tool.
Clean up some logic in the zip cmd tool.
Fixed zipping to non-existant directory.
Fixed passthru stream shouldn't open or close base streams.
Changed make_dir functions to succeed if dir exists.
Fixed compression method check for zip open functions.
Fixed wrong level being passed to bzip2.
Removed unused price_tablegen.c.
Updated CMakeLists.
Added travis yml.
2017-10-05 18:45:23 -07:00
Antoine Cœur
07571433a2 fix doc issue 2017-10-05 21:46:14 +08:00
Antoine Cœur
5fbb07618f fix duplicate command 2017-10-05 21:20:38 +08:00
Nathan Moinvaziri
900129bc1c Added LZMA compression.
Cleaned up minizip app.
Removed prng from aes since our random generator should be cryptographically secure.
Removed old change log - it is in the git history now.
Added bzip2 license.
2017-10-04 20:06:25 -07:00
Nathan Moinvaziri
b1badee350 Cleanup and fix formatting. 2017-10-03 00:44:18 -07:00
Nathan Moinvaziri
0a592082d0 Added bzip2 compression back in.
Added test stream functions.
Refactored zip library.
2017-10-02 22:11:03 -07:00
Nathan Moinvaziri
d2a1a12ac5 Rename files.
Clean up includes and comments.
2017-10-01 22:42:35 -07:00
Nathan Moinvaziri
bf028d70df Added aes stream.
Added bzip2 library.
2017-10-01 21:12:12 -07:00