Dont include some source files when OpenSSL is disabled

This commit is contained in:
Kaian 2015-02-25 14:10:40 +01:00
parent 7eefddf790
commit 89648a9638
2 changed files with 3 additions and 1 deletions

View File

@ -110,7 +110,7 @@ AS_IF([test "x$enable_openssl" == "xyes"], [
], [])
# Conditional Source inclusion
AM_CONDITIONAL([WITH_OPENSSL], [test "x$enable_openssl" != "xno"])
AM_CONDITIONAL([WITH_OPENSSL], [test "x$enable_openssl" == "xyes"])
######################################################################

View File

@ -84,7 +84,9 @@ main(int argc, char* argv[])
{
int ret = 0, opt;
#ifdef WITH_OPENSSL
const char *keyfile;
#endif
//! BPF arguments filter
char bpf[512];