clienttest: Adds a client test that authenticates to the ssh server using ssh_connect through key obtained through 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-20 09:16:29 +01:00
committed by Andreas Schneider
parent fa95fe3e1b
commit 2b76abb74c
3 changed files with 267 additions and 0 deletions

View File

@@ -24,6 +24,12 @@ if (SCP_EXECUTABLE)
torture_scp)
endif()
if (WITH_PKCS11_URI)
set(LIBSSH_CLIENT_TESTS
${LIBSSH_CLIENT_TESTS}
torture_auth_pkcs11)
endif()
if (DEFAULT_C_NO_DEPRECATION_FLAGS)
set_source_files_properties(torture_knownhosts.c
PROPERTIES