aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2016-07-09 12:40:22 -0500
committerBrent Cook <bcook@openbsd.org>2016-07-09 12:40:22 -0500
commitb13529f7914eebf049fa886d2e2d9775b7e94d8a (patch)
tree6b54306c2ab6986bf24daf13a11d057ad42426d6 /apps
parent30adf9c06e8d3d7ac9e89f4b2b290567bcafa75c (diff)
downloadportable-b13529f7914eebf049fa886d2e2d9775b7e94d8a.tar.gz
portable-b13529f7914eebf049fa886d2e2d9775b7e94d8a.tar.bz2
portable-b13529f7914eebf049fa886d2e2d9775b7e94d8a.zip
Revert "remove DEFAULT_CA_FILE patch, since libtls handles this by default"
This reverts commit 30adf9c06e8d3d7ac9e89f4b2b290567bcafa75c.
Diffstat (limited to 'apps')
-rw-r--r--apps/nc/Makefile.am5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/nc/Makefile.am b/apps/nc/Makefile.am
index 2a24d87..ed45c3f 100644
--- a/apps/nc/Makefile.am
+++ b/apps/nc/Makefile.am
@@ -17,6 +17,11 @@ nc_LDADD += $(abs_top_builddir)/ssl/libssl.la
17nc_LDADD += $(abs_top_builddir)/tls/libtls.la 17nc_LDADD += $(abs_top_builddir)/tls/libtls.la
18 18
19AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat 19AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat
20if OPENSSLDIR_DEFINED
21AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"@OPENSSLDIR@/cert.pem\"
22else
23AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\"
24endif
20 25
21nc_SOURCES = atomicio.c 26nc_SOURCES = atomicio.c
22nc_SOURCES += netcat.c 27nc_SOURCES += netcat.c