Skip to content

Commit

Permalink
Cleanup comments and includes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmoinvaz committed Nov 20, 2018
1 parent 0c59898 commit 0a60d2c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 35 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ if(BUILD_UNIT_TEST)
if(USE_AES)
create_compress_tests("winzipaes" "-s;-p;1234567890")
endif()
if(NOT USE_BRG AND NOT (APPLE AND NOT USE_OPENSSL))
if(USE_OPENSSL AND OPENSSL_FOUND)
create_compress_tests("signing" "-h;ia.p12;-w;test")
endif()

Expand Down
6 changes: 0 additions & 6 deletions minizip.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,6 @@
See the accompanying LICENSE file for the full text of the license.
*/

#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>
#include <time.h>

#include "mz.h"
#include "mz_os.h"
Expand Down
7 changes: 1 addition & 6 deletions test/fuzz/standalone.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* minizip.c
/* standalone.c - Standalone fuzzer tester
Version 2.7.5, November 13, 2018
part of the MiniZip project
Expand All @@ -11,11 +11,6 @@
See the accompanying LICENSE file for the full text of the license.
*/

#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <inttypes.h>

#include "mz.h"
#include "mz_strm.h"
Expand Down
9 changes: 1 addition & 8 deletions test/fuzz/unzip_fuzzer.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* minizip.c
/* unzip_fuzzer.c - Unzip fuzzer for libFuzzer
Version 2.7.5, November 13, 2018
part of the MiniZip project
Expand All @@ -11,13 +11,6 @@
See the accompanying LICENSE file for the full text of the license.
*/

/***************************************************************************/

#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <time.h>

#include "mz.h"
#include "mz_strm.h"
Expand Down
7 changes: 1 addition & 6 deletions test/fuzz/zip_fuzzer.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* minizip.c
/* zip_fuzzer.c - Zip fuzzer for libFuzzer
Version 2.7.5, November 13, 2018
part of the MiniZip project
Expand All @@ -11,11 +11,6 @@
See the accompanying LICENSE file for the full text of the license.
*/

#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <time.h>

#include "mz.h"
#include "mz_strm.h"
Expand Down
18 changes: 10 additions & 8 deletions test/test.c
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
#include <stdio.h>
#include <stdlib.h>
#include <stdint.h>
#include <string.h>
#include <inttypes.h>
#include <time.h>
#include <errno.h>
#include <fcntl.h>
/* test.c - Test bed area
Version 2.7.5, November 13, 2018
part of the MiniZip project
Copyright (C) 2018 Nathan Moinvaziri
https://github.com/nmoinvaz/minizip
This program is distributed under the terms of the same license as zlib.
See the accompanying LICENSE file for the full text of the license.
*/

#include "mz.h"
#include "mz_crypt.h"
Expand Down

0 comments on commit 0a60d2c

Please sign in to comment.