aboutsummaryrefslogtreecommitdiff
path: root/tests/unittests/CMakeLists.txt
diff options
context:
space:
mode:
authorSahana Prasad <sahana@redhat.com>2019-12-10 22:40:53 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-20 16:18:31 +0100
commitfa95fe3e1b93f0f6d2a6c8917f806d60d44f7b0b (patch)
tree6a9c0b3d4ff603dc47fea7bdc26c2dd0cc82a688 /tests/unittests/CMakeLists.txt
parentcc1175a9af8d745f2f7e9ead09276857d19153f9 (diff)
downloadlibssh-fa95fe3e1b93f0f6d2a6c8917f806d60d44f7b0b.tar.gz
libssh-fa95fe3e1b93f0f6d2a6c8917f806d60d44f7b0b.tar.xz
libssh-fa95fe3e1b93f0f6d2a6c8917f806d60d44f7b0b.zip
unittests: Adds unitests for ecdsa and rsa with PKCS11 URIs.
Signed-off-by: Sahana Prasad <sahana@redhat.com> Reviewed-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'tests/unittests/CMakeLists.txt')
-rw-r--r--tests/unittests/CMakeLists.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/unittests/CMakeLists.txt b/tests/unittests/CMakeLists.txt
index 6f49e0dc..3ce3f10a 100644
--- a/tests/unittests/CMakeLists.txt
+++ b/tests/unittests/CMakeLists.txt
@@ -64,6 +64,14 @@ if (UNIX AND NOT WIN32)
)
endif()
+ if (WITH_PKCS11_URI)
+ set(LIBSSH_UNIT_TESTS
+ ${LIBSSH_UNIT_TESTS}
+ torture_pki_rsa_uri
+ torture_pki_ecdsa_uri
+ )
+ endif()
+
if (HAVE_ECC)
set(LIBSSH_UNIT_TESTS
${LIBSSH_UNIT_TESTS}