mirror of
https://git.libssh.org/projects/libssh.git
synced 2025-08-01 11:26:52 +03: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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user