mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-10 18:28:10 +09:00
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>
This commit is contained in:
@@ -83,7 +83,7 @@ static int setup_tokens(void **state)
|
||||
torture_write_file(keys_path_pub,
|
||||
torture_get_testkey_pub_pem(SSH_KEYTYPE_RSA));
|
||||
|
||||
torture_setup_tokens(cwd, keys_path, obj_tempname);
|
||||
torture_setup_tokens(cwd, keys_path, obj_tempname, "1");
|
||||
|
||||
snprintf(conf_path, sizeof(conf_path), "%s/softhsm.conf", cwd);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user