diff options
| author | Brent Cook <bcook@openbsd.org> | 2016-07-09 12:40:22 -0500 |
|---|---|---|
| committer | Brent Cook <bcook@openbsd.org> | 2016-07-09 12:40:22 -0500 |
| commit | b13529f7914eebf049fa886d2e2d9775b7e94d8a (patch) | |
| tree | 6b54306c2ab6986bf24daf13a11d057ad42426d6 /apps/nc | |
| parent | 30adf9c06e8d3d7ac9e89f4b2b290567bcafa75c (diff) | |
| download | portable-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/nc')
| -rw-r--r-- | apps/nc/Makefile.am | 5 |
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 | |||
| 17 | nc_LDADD += $(abs_top_builddir)/tls/libtls.la | 17 | nc_LDADD += $(abs_top_builddir)/tls/libtls.la |
| 18 | 18 | ||
| 19 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat | 19 | AM_CPPFLAGS += -I$(top_srcdir)/apps/nc/compat |
| 20 | if OPENSSLDIR_DEFINED | ||
| 21 | AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"@OPENSSLDIR@/cert.pem\" | ||
| 22 | else | ||
| 23 | AM_CPPFLAGS += -DDEFAULT_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\" | ||
| 24 | endif | ||
| 20 | 25 | ||
| 21 | nc_SOURCES = atomicio.c | 26 | nc_SOURCES = atomicio.c |
| 22 | nc_SOURCES += netcat.c | 27 | nc_SOURCES += netcat.c |
