summaryrefslogtreecommitdiff
path: root/src/test/include.am
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-09-11 12:36:09 -0400
committerNick Mathewson <nickm@torproject.org>2016-11-03 08:40:10 -0400
commitacbb60cd6310d30c8cb7631ee52ce86150021ab1 (patch)
tree910537a7fe37d5032ef454adb1d8831f6cfec276 /src/test/include.am
parentaf2459f09e86aece0fb0679f7e8abd8f2439ed80 (diff)
downloadtor-acbb60cd6310d30c8cb7631ee52ce86150021ab1.tar.gz
tor-acbb60cd6310d30c8cb7631ee52ce86150021ab1.zip
Move unittests' RSA pregen code into a new file, and improve.
This patch moves the pregenerated RSA key logic into a new testing_rsakeys.c. Also, it adds support for RSA2048, since the link handshake tests want that. Also, it includes pregenerated keys, rather than trying to actually generate the keys at startup, since generating even a small handful of RSA2048 keys makes for an annoying delay.
Diffstat (limited to 'src/test/include.am')
-rw-r--r--src/test/include.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/include.am b/src/test/include.am
index 0aff395091..17491df80e 100644
--- a/src/test/include.am
+++ b/src/test/include.am
@@ -128,6 +128,7 @@ src_test_test_SOURCES = \
src/test/test_helpers.c \
src/test/test_dns.c \
src/test/testing_common.c \
+ src/test/testing_rsakeys.c \
src/ext/tinytest.c
src_test_test_slow_SOURCES = \
@@ -135,6 +136,7 @@ src_test_test_slow_SOURCES = \
src/test/test_crypto_slow.c \
src/test/test_util_slow.c \
src/test/testing_common.c \
+ src/test/testing_rsakeys.c \
src/ext/tinytest.c
src_test_test_memwipe_SOURCES = \