aboutsummaryrefslogtreecommitdiff
path: root/src/lib/tls
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-11 12:57:30 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-11 13:22:20 -0400
commit79267bad654ed39f13e6fb89a5468f23468c3169 (patch)
tree46be8aac78ff4d0074e749a8b4eb1d050d686b4c /src/lib/tls
parent92db96d80fddca5394a24256bb6b4691f380a8ae (diff)
downloadtor-79267bad654ed39f13e6fb89a5468f23468c3169.tar.gz
tor-79267bad654ed39f13e6fb89a5468f23468c3169.zip
Add a configure switch to build with NSS.
When it is set, include the NSS headers and libraries as appropriate. Doesn't actually use them yet, though.
Diffstat (limited to 'src/lib/tls')
-rw-r--r--src/lib/tls/include.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/tls/include.am b/src/lib/tls/include.am
index b3b013f4dd..9cc57ca777 100644
--- a/src/lib/tls/include.am
+++ b/src/lib/tls/include.am
@@ -9,10 +9,13 @@ src_lib_libtor_tls_a_SOURCES = \
src/lib/tls/buffers_tls.c \
src/lib/tls/tortls.c
+src_lib_libtor_tls_a_CFLAGS = $(AM_CFLAGS) $(TOR_CFLAGS_CRYPTLIB)
+
src_lib_libtor_tls_testing_a_SOURCES = \
$(src_lib_libtor_tls_a_SOURCES)
src_lib_libtor_tls_testing_a_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_CPPFLAGS)
-src_lib_libtor_tls_testing_a_CFLAGS = $(AM_CFLAGS) $(TEST_CFLAGS)
+src_lib_libtor_tls_testing_a_CFLAGS = \
+ $(AM_CFLAGS) $(TOR_CFLAGS_CRYPTLIB) $(TEST_CFLAGS)
noinst_HEADERS += \
src/lib/tls/ciphers.inc \