diff options
author | Sahana Prasad <sahana@redhat.com> | 2020-05-14 16:25:19 +0200 |
---|---|---|
committer | Sahana Prasad <sahana@redhat.com> | 2020-05-20 12:49:29 +0200 |
commit | 7eb6c7ee6c1633d6fe73fd094ba3aa80d9f1cb3d (patch) | |
tree | 33b96799a6d5c59ae38a385c89b3254b319a92a4 /tests/client | |
parent | d3f7b64579a2b3d357900a10e5329f2d3bb30985 (diff) | |
download | libssh-7eb6c7ee6c1633d6fe73fd094ba3aa80d9f1cb3d.tar.gz libssh-7eb6c7ee6c1633d6fe73fd094ba3aa80d9f1cb3d.tar.xz libssh-7eb6c7ee6c1633d6fe73fd094ba3aa80d9f1cb3d.zip |
tests/torture.c: update the definition of torture_setup_tokens() to take load_public as an option that
determines if public keys must be loaded in pkcs #11 tokens or not.
tests: Adds the load_public parameter in all files where torture_setup_tokens() was used.
Signed-off-by: Sahana Prasad <sahana@redhat.com>
Reviewed-by: Jakub Jelen <jjelen@redhat.com>
Diffstat (limited to 'tests/client')
-rw-r--r-- | tests/client/torture_auth_pkcs11.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/client/torture_auth_pkcs11.c b/tests/client/torture_auth_pkcs11.c index 79b32e15..ee97bff4 100644 --- a/tests/client/torture_auth_pkcs11.c +++ b/tests/client/torture_auth_pkcs11.c @@ -61,7 +61,7 @@ static int setup_tokens(void **state, const char *type, const char *obj_name) snprintf(priv_filename, sizeof(priv_filename), "%s%s", test_state->keys_dir, type); - torture_setup_tokens(cwd, priv_filename, obj_name); + torture_setup_tokens(cwd, priv_filename, obj_name, "1"); return 0; } |