aboutsummaryrefslogtreecommitdiff
path: root/tls
diff options
context:
space:
mode:
authorBrent Cook <bcook@openbsd.org>2015-12-07 07:55:05 -0600
committerBrent Cook <bcook@openbsd.org>2015-12-07 07:55:05 -0600
commit1988b8f65e4bfa2c9fb1fa13316f3c22ec59d298 (patch)
treef27569fb259eca41fdda222fdaa919485b750e31 /tls
parent905e2a3b8046e227bf02410def56b0c2535de14f (diff)
downloadportable-1988b8f65e4bfa2c9fb1fa13316f3c22ec59d298.tar.gz
portable-1988b8f65e4bfa2c9fb1fa13316f3c22ec59d298.tar.bz2
portable-1988b8f65e4bfa2c9fb1fa13316f3c22ec59d298.zip
fixup cert.pem path override for libtls, add for nc(1)
this also fixes the formatting of help for nc(1)
Diffstat (limited to 'tls')
-rw-r--r--tls/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/tls/Makefile.am b/tls/Makefile.am
index 2d033fd..b19c881 100644
--- a/tls/Makefile.am
+++ b/tls/Makefile.am
@@ -10,9 +10,9 @@ libtls_la_LIBADD = ../crypto/libcrypto.la ../ssl/libssl.la $(PLATFORM_LDADD)
10 10
11libtls_la_CPPFLAGS = $(AM_CPPFLAGS) 11libtls_la_CPPFLAGS = $(AM_CPPFLAGS)
12if OPENSSLDIR_DEFINED 12if OPENSSLDIR_DEFINED
13libtls_la_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"@OPENSSLDIR@\" 13libtls_la_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"@OPENSSLDIR@/cert.pem\"
14else 14else
15libtls_la_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"$(sysconfdir)/ssl\" 15libtls_la_CPPFLAGS += -D_PATH_SSL_CA_FILE=\"$(sysconfdir)/ssl/cert.pem\"
16endif 16endif
17 17
18libtls_la_SOURCES = tls.c 18libtls_la_SOURCES = tls.c