aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorJan-Niklas Burfeind <libssh@aiyionpri.me>2018-08-09 11:00:00 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-08-29 19:04:44 +0200
commit9510a538c2f13ca67fa5967288c4eda3cce99367 (patch)
tree2993242acd198c5dcd83a61b9e8a7bb4853eb6e5 /tests/unittests/CMakeLists.txt
parentf32cb706752d8dc35ad53a64f51e432cc0bc41cd (diff)
downloadlibssh-9510a538c2f13ca67fa5967288c4eda3cce99367.tar.gz
libssh-9510a538c2f13ca67fa5967288c4eda3cce99367.tar.xz
libssh-9510a538c2f13ca67fa5967288c4eda3cce99367.zip
tests: Add torture_hashes for pubkey hashes
Signed-off-by: Jan-Niklas Burfeind <libssh@aiyionpri.me> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/unittests/CMakeLists.txt')
-rw-r--r--tests/unittests/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt
index 264bc4be..d585cada 100644
--- a/tests/unittests/CMakeLists.txt
+++ b/tests/unittests/CMakeLists.txt
@@ -32,6 +32,8 @@ target_compile_options(torture_isipaddr PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
add_cmocka_test(torture_knownhosts_parsing torture_knownhosts_parsing.c ${TORTURE_LIBRARY})
target_compile_options(torture_knownhosts_parsing PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
+add_cmocka_test(torture_hashes torture_hashes.c ${TORTURE_LIBRARY})
+target_compile_options(torture_hashes PRIVATE ${DEFAULT_C_COMPILE_FLAGS})
if (CMAKE_USE_PTHREADS_INIT)
add_cmocka_test(torture_rand torture_rand.c ${TORTURE_LIBRARY})