Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Freshclam refresh. This update makes libcurl a hard requirement for C…
…lamAV.

New features added to freshclam:
- Update signature definitions over HTTPS.
- Support for HTTP protocol v1.1 (formerly v1.0).
- New libfreshclam library with an all new API and versioning separate from libclamav (v2.0.0). This library is now build and installed alongside libclamav as a hard dependency of freshclam.
- The ability to opt-in and opt-out of standard and optional official ClamAV databases (ExtraDatabase, ExcludeDatabase)
- The option to specify the protocol and port number of official and private mirror servers.
- Support for additional types of proxy servers beyond plain HTTP (SOCKS 4, SOCKS 5).

Features removed from freshclam:
- Mirror management (mirrors.dat) file. This feature is no longer needed as official signature databases are distributed using a paid content delivery network (Cloudflare).

This commit also adds the following features for Windows users:
- The clamsubmit tool.
- The json-c library dependency, which will enable the --gen-json option in clamscan.
- Third party libraries under the win32/3rdparty directory have been removed. Developers will need to build the libraries separately from ClamAV and provide the headers and lib/dll library files the same way they do for OpenSSL. This includes libxml2, pthread-win32, bzip2, zlib, pcre2 as well as new dependencies: curl, json-c. Developers are encouraged to use the build tool Mussels to simplify this task.
  • Loading branch information
micahsnyder committed Jun 6, 2019
1 parent 6c5805e commit 694e788
Show file tree
Hide file tree
Showing 5,305 changed files with 6,333 additions and 1,275,238 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
6 changes: 1 addition & 5 deletions Makefile.am
Expand Up @@ -20,7 +20,7 @@

ACLOCAL_AMFLAGS=-I m4

SUBDIRS = libltdl libclamav clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test clamdtop clambc unit_tests
SUBDIRS = libltdl libclamav libfreshclam clamscan clamd clamdscan freshclam sigtool clamconf database docs etc clamav-milter test clamdtop clambc unit_tests
EXTRA_DIST = examples shared libclamav.pc.in COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.llvm COPYING.file COPYING.zlib COPYING.getopt COPYING.regex COPYING.YARA COPYING.pcre platform.h.in libclamunrar libclamunrar_iface libclammspack clamdscan/clamdscan.map win32 ChangeLog.md INSTALL.md NEWS.md README.md

bin_SCRIPTS=clamav-config
Expand All @@ -29,10 +29,6 @@ if ENABLE_CLAMSUBMIT
SUBDIRS += clamsubmit
endif

if ENABLE_LIBFRESHCLAM
SUBDIRS += libfreshclam
endif

if ENABLE_FUZZ
SUBDIRS += fuzz
endif
Expand Down
21 changes: 12 additions & 9 deletions Makefile.in
Expand Up @@ -102,8 +102,7 @@ build_triplet = @build@
host_triplet = @host@
target_triplet = @target@
@ENABLE_CLAMSUBMIT_TRUE@am__append_1 = clamsubmit
@ENABLE_LIBFRESHCLAM_TRUE@am__append_2 = libfreshclam
@ENABLE_FUZZ_TRUE@am__append_3 = fuzz
@ENABLE_FUZZ_TRUE@am__append_2 = fuzz
subdir = .
DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \
$(top_srcdir)/configure $(am__configure_deps) \
Expand Down Expand Up @@ -203,7 +202,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -313,9 +311,9 @@ am__define_uniq_tagged_files = \
ETAGS = etags
CTAGS = ctags
CSCOPE = cscope
DIST_SUBDIRS = libltdl libclamav clamscan clamd clamdscan freshclam \
sigtool clamconf database docs etc clamav-milter test clamdtop \
clambc unit_tests clamsubmit libfreshclam fuzz
DIST_SUBDIRS = libltdl libclamav libfreshclam clamscan clamd clamdscan \
freshclam sigtool clamconf database docs etc clamav-milter \
test clamdtop clambc unit_tests clamsubmit fuzz
DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
distdir = $(PACKAGE)-$(VERSION)
top_distdir = $(distdir)
Expand Down Expand Up @@ -395,6 +393,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -458,6 +459,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down Expand Up @@ -597,9 +599,10 @@ top_build_prefix = @top_build_prefix@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libltdl libclamav clamscan clamd clamdscan freshclam sigtool \
clamconf database docs etc clamav-milter test clamdtop clambc \
unit_tests $(am__append_1) $(am__append_2) $(am__append_3)
SUBDIRS = libltdl libclamav libfreshclam clamscan clamd clamdscan \
freshclam sigtool clamconf database docs etc clamav-milter \
test clamdtop clambc unit_tests $(am__append_1) \
$(am__append_2)
EXTRA_DIST = examples shared libclamav.pc.in COPYING.bzip2 COPYING.lzma COPYING.unrar COPYING.LGPL COPYING.llvm COPYING.file COPYING.zlib COPYING.getopt COPYING.regex COPYING.YARA COPYING.pcre platform.h.in libclamunrar libclamunrar_iface libclammspack clamdscan/clamdscan.map win32 ChangeLog.md INSTALL.md NEWS.md README.md
bin_SCRIPTS = clamav-config
pkgconfigdir = $(libdir)/pkgconfig
Expand Down
13 changes: 8 additions & 5 deletions clamav-config.h.in
Expand Up @@ -87,9 +87,6 @@
/* "default FD_SETSIZE value" */
#undef DEFAULT_FD_SETSIZE

/* enable libfreshclam */
#undef ENABLE_LIBFRESHCLAM

/* use fanotify */
#undef FANOTIFY

Expand Down Expand Up @@ -468,12 +465,18 @@
/* For internal use only - DO NOT DEFINE */
#undef HAVE__INTERNAL__SHA_COLLECT

/* "Full library version number" */
/* "Full clamav library version number" */
#undef LIBCLAMAV_FULLVER

/* "Major library version number" */
/* "Major clamav library version number" */
#undef LIBCLAMAV_MAJORVER

/* "Full freshclam library version number" */
#undef LIBFRESHCLAM_FULLVER

/* "Major freshclam library version number" */
#undef LIBFRESHCLAM_MAJORVER

/* Define if the OS needs help to load dependent libraries for dlopen(). */
#undef LTDL_DLOPEN_DEPLIBS

Expand Down
5 changes: 4 additions & 1 deletion clamav-milter/Makefile.in
Expand Up @@ -174,7 +174,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -343,6 +342,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -406,6 +408,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down
5 changes: 4 additions & 1 deletion clambc/Makefile.in
Expand Up @@ -153,7 +153,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -277,6 +276,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -340,6 +342,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down
5 changes: 3 additions & 2 deletions clambc/bcrun.c
Expand Up @@ -352,7 +352,8 @@ int main(int argc, char *argv[])
for (i = 0; i < bc->num_func; ++i) {
printf("########################################################################\n"
"####################### Function id %3u ################################\n"
"########################################################################\n", i);
"########################################################################\n",
i);
cli_bytevalue_describe(bc, i);
cli_bytefunc_describe(bc, i);
}
Expand Down Expand Up @@ -470,6 +471,6 @@ int main(int argc, char *argv[])
close(fd);
if (debug_flag)
printf("[clambc] Exiting\n");
cl_cleanup_crypto();

return 0;
}
5 changes: 4 additions & 1 deletion clamconf/Makefile.in
Expand Up @@ -173,7 +173,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -297,6 +296,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -360,6 +362,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down
2 changes: 1 addition & 1 deletion clamconf/clamconf.c
Expand Up @@ -503,6 +503,6 @@ int main(int argc, char **argv)
cli_detect_environment(&env);
print_platform(&env);
print_build(&env);
cl_cleanup_crypto();

return 0;
}
5 changes: 4 additions & 1 deletion clamd/Makefile.in
Expand Up @@ -176,7 +176,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -354,6 +353,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -417,6 +419,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down
40 changes: 0 additions & 40 deletions clamd/clamd.c
Expand Up @@ -74,10 +74,6 @@

short debug_mode = 0, logok = 0;
short foreground = -1;
char hostid[37];

char *get_hostid(void *cbdata);
int is_valid_hostid(void);

static void help(void)
{
Expand Down Expand Up @@ -786,41 +782,5 @@ int main(int argc, char **argv)
logg_close();
optfree(opts);

cl_cleanup_crypto();

return ret;
}

int is_valid_hostid(void)
{
int count, i;

if (strlen(hostid) != 36)
return 0;

count = 0;
for (i = 0; i < 36; i++)
if (hostid[i] == '-')
count++;

if (count != 4)
return 0;

if (hostid[8] != '-' || hostid[13] != '-' || hostid[18] != '-' || hostid[23] != '-')
return 0;

return 1;
}

char *get_hostid(void *cbdata)
{
UNUSEDPARAM(cbdata);

if (!strcmp(hostid, "none"))
return NULL;

if (!is_valid_hostid())
return strdup(STATS_ANON_UUID);

return strdup(hostid);
}
5 changes: 4 additions & 1 deletion clamdscan/Makefile.in
Expand Up @@ -172,7 +172,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -307,6 +306,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -370,6 +372,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down
2 changes: 1 addition & 1 deletion clamdscan/clamdscan.c
Expand Up @@ -172,7 +172,7 @@ int main(int argc, char **argv)

logg_close();
optfree(opts);
cl_cleanup_crypto();

exit(ret);
}

Expand Down
5 changes: 4 additions & 1 deletion clamdtop/Makefile.in
Expand Up @@ -153,7 +153,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -312,6 +311,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -375,6 +377,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down
5 changes: 4 additions & 1 deletion clamscan/Makefile.in
Expand Up @@ -175,7 +175,6 @@ am__aclocal_m4_deps = $(top_srcdir)/m4/acinclude.m4 \
$(top_srcdir)/m4/reorganization/sha_collect.m4 \
$(top_srcdir)/m4/reorganization/yara.m4 \
$(top_srcdir)/m4/reorganization/code_checks/fts.m4 \
$(top_srcdir)/m4/reorganization/libfreshclam.m4 \
$(top_srcdir)/m4/reorganization/prelude.m4 \
$(top_srcdir)/m4/reorganization/bsd.m4 \
$(top_srcdir)/m4/reorganization/libs/curl.m4 \
Expand Down Expand Up @@ -300,6 +299,9 @@ CLAMSUBMIT_CFLAGS = @CLAMSUBMIT_CFLAGS@
CLAMSUBMIT_LIBS = @CLAMSUBMIT_LIBS@
CPP = @CPP@
CPPFLAGS = @CPPFLAGS@
CURL_CPPFLAGS = @CURL_CPPFLAGS@
CURL_LDFLAGS = @CURL_LDFLAGS@
CURL_LIBS = @CURL_LIBS@
CURSES_CPPFLAGS = @CURSES_CPPFLAGS@
CURSES_LIBS = @CURSES_LIBS@
CXX = @CXX@
Expand Down Expand Up @@ -363,6 +365,7 @@ LIBCLAMAV_CPPFLAGS = @LIBCLAMAV_CPPFLAGS@
LIBCLAMAV_LIBS = @LIBCLAMAV_LIBS@
LIBCLAMAV_VERSION = @LIBCLAMAV_VERSION@
LIBCLAMSHARED_CPPFLAGS = @LIBCLAMSHARED_CPPFLAGS@
LIBFRESHCLAM_VERSION = @LIBFRESHCLAM_VERSION@
LIBLTDL = @LIBLTDL@
LIBM = @LIBM@
LIBMSPACK_CFLAGS = @LIBMSPACK_CFLAGS@
Expand Down
2 changes: 0 additions & 2 deletions clamscan/clamscan.c
Expand Up @@ -188,8 +188,6 @@ int main(int argc, char **argv)

optfree(opts);

cl_cleanup_crypto();

return ret;
}

Expand Down

0 comments on commit 694e788

Please sign in to comment.