forked from Mirrors/sngrep
Dont include some source files when OpenSSL is disabled
This commit is contained in:
parent
7eefddf790
commit
89648a9638
|
@ -110,7 +110,7 @@ AS_IF([test "x$enable_openssl" == "xyes"], [
|
||||||
], [])
|
], [])
|
||||||
|
|
||||||
# Conditional Source inclusion
|
# Conditional Source inclusion
|
||||||
AM_CONDITIONAL([WITH_OPENSSL], [test "x$enable_openssl" != "xno"])
|
AM_CONDITIONAL([WITH_OPENSSL], [test "x$enable_openssl" == "xyes"])
|
||||||
|
|
||||||
|
|
||||||
######################################################################
|
######################################################################
|
||||||
|
|
|
@ -84,7 +84,9 @@ main(int argc, char* argv[])
|
||||||
{
|
{
|
||||||
|
|
||||||
int ret = 0, opt;
|
int ret = 0, opt;
|
||||||
|
#ifdef WITH_OPENSSL
|
||||||
const char *keyfile;
|
const char *keyfile;
|
||||||
|
#endif
|
||||||
|
|
||||||
//! BPF arguments filter
|
//! BPF arguments filter
|
||||||
char bpf[512];
|
char bpf[512];
|
||||||
|
|
Loading…
Reference in New Issue