aboutsummaryrefslogtreecommitdiff
path: root/tests/torture.h
diff options
context:
space:
mode:
authorSahana Prasad <sahana@redhat.com>2019-12-10 21:06:55 +0100
committerAndreas Schneider <asn@cryptomilk.org>2019-12-20 16:18:23 +0100
commitcc1175a9af8d745f2f7e9ead09276857d19153f9 (patch)
treef89dabe259ab3f8d0bb184f97a0387e6dc6d7723 /tests/torture.h
parent4ea09256f67c381bed44af54d8cbfa42d81df314 (diff)
downloadlibssh-cc1175a9af8d745f2f7e9ead09276857d19153f9.tar.gz
libssh-cc1175a9af8d745f2f7e9ead09276857d19153f9.tar.xz
libssh-cc1175a9af8d745f2f7e9ead09276857d19153f9.zip
torture: Add a helper function to setup tokens using softhsm.
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/torture.h')
-rw-r--r--tests/torture.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/torture.h b/tests/torture.h
index 9455e06d..771130fb 100644
--- a/tests/torture.h
+++ b/tests/torture.h
@@ -123,6 +123,7 @@ int torture_server_port(void);
void torture_setup_socket_dir(void **state);
void torture_setup_sshd_server(void **state, bool pam);
+void torture_setup_tokens(const char *temp_dir, const char *filename, const char object_name[]);
void torture_teardown_socket_dir(void **state);
void torture_teardown_sshd_server(void **state);