aboutsummaryrefslogtreecommitdiff
path: root/src/test/test.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2009-09-22 13:06:47 -0400
committerNick Mathewson <nickm@torproject.org>2009-09-23 00:24:43 -0400
commitcea12251995d49a63735beb4755eb2b779995835 (patch)
tree899b67999bab20952ea83efdb84113fa85640f69 /src/test/test.h
parent410f31e576a24e04d3be55ba31cdc586fdb38604 (diff)
downloadtor-cea12251995d49a63735beb4755eb2b779995835.tar
tor-cea12251995d49a63735beb4755eb2b779995835.tar.gz
Split crypto tests into a separate module.
Diffstat (limited to 'src/test/test.h')
-rw-r--r--src/test/test.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/test/test.h b/src/test/test.h
index e4bae6d78..b5076c04d 100644
--- a/src/test/test.h
+++ b/src/test/test.h
@@ -8,7 +8,7 @@
/**
* \file test.h
- * \brief Macros used by unit tests.
+ * \brief Macros and functions used by unit tests.
*/
#include "compat.h"
@@ -62,5 +62,11 @@
#define test_memeq_hex(expr1, hex) test_mem_op_hex(expr1, ==, hex)
+const char *get_fname(const char *name);
+crypto_pk_env_t *pk_generate(int idx);
+
+void legacy_test_helper(void *data);
+extern const struct testcase_setup_t legacy_setup;
+
#endif