summaryrefslogtreecommitdiff
path: root/src/ext
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-12-13 13:25:30 -0500
committerNick Mathewson <nickm@torproject.org>2019-01-17 12:43:20 -0500
commitc3931714038e422972b80a893db0807d4d8ae937 (patch)
treecc917054ae20de7d31a78780a41b14e69e4e7576 /src/ext
parent77712a5fa29f135e0a79ed9122f28c5dcb902e77 (diff)
downloadtor-c3931714038e422972b80a893db0807d4d8ae937.tar.gz
tor-c3931714038e422972b80a893db0807d4d8ae937.zip
Use openssl's version of sha3 when available.
Part of 28837.
Diffstat (limited to 'src/ext')
-rw-r--r--src/ext/include.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ext/include.am b/src/ext/include.am
index 6bdce2d79e..317e25d78e 100644
--- a/src/ext/include.am
+++ b/src/ext/include.am
@@ -143,6 +143,7 @@ noinst_HEADERS += $(ED25519_DONNA_HDRS)
LIBED25519_DONNA=src/ext/ed25519/donna/libed25519_donna.a
noinst_LIBRARIES += $(LIBED25519_DONNA)
+if BUILD_KECCAK_TINY
src_ext_keccak_tiny_libkeccak_tiny_a_CFLAGS=\
@CFLAGS_CONSTTIME@
@@ -156,6 +157,7 @@ noinst_HEADERS += $(LIBKECCAK_TINY_HDRS)
LIBKECCAK_TINY=src/ext/keccak-tiny/libkeccak-tiny.a
noinst_LIBRARIES += $(LIBKECCAK_TINY)
+endif
EXTRA_DIST += \
src/ext/timeouts/bench/bench-add.lua \