Revert "remove DEFAULT_CA_FILE patch, since libtls handles this by default"

This reverts commit 30adf9c06e.
This commit is contained in:
Brent Cook
2016-07-09 12:40:22 -05:00
parent 30adf9c06e
commit b13529f791
2 changed files with 41 additions and 14 deletions

View File

@@ -17,6 +17,11 @@ nc_LDADD += $(abs_top_builddir)/ssl/libssl.la
nc_LDADD += $(abs_top_builddir)/tls/libtls.la
AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat
if OPENSSLDIR_DEFINED
AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"@OPENSSLDIR@/cert.pem\"
else
AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\"
endif
nc_SOURCES = atomicio.c
nc_SOURCES += netcat.c