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>
This commit is contained in:
Sahana Prasad
2019-12-10 22:40:53 +01:00
committed by Andreas Schneider
parent cc1175a9af
commit fa95fe3e1b
4 changed files with 810 additions and 1 deletions

View File

@@ -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}