Skip to content
This repository was archived by the owner on Jan 26, 2026. It is now read-only.

Commit 1fa9ea7

Browse files
committed
tests: Do not override verbosity set by environment
Signed-off-by: Jakub Jelen <jjelen@redhat.com> Reviewed-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit 9ce53b6972afb236315456dabd16cf459441856c)
1 parent afa77c1 commit 1fa9ea7

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

tests/client/torture_auth_pkcs11.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -177,15 +177,12 @@ static void torture_auth_autopubkey(void **state, const char *obj_name, const ch
177177
struct torture_state *s = *state;
178178
ssh_session session = s->ssh.session;
179179
int rc;
180-
int verbosity = 4;
181180
char priv_uri[1042];
181+
182182
/* Authenticate as charlie with bob his pubkey */
183183
rc = ssh_options_set(session, SSH_OPTIONS_USER, TORTURE_SSH_USER_CHARLIE);
184184
assert_int_equal(rc, SSH_OK);
185185

186-
rc = ssh_options_set(session, SSH_OPTIONS_LOG_VERBOSITY, &verbosity);
187-
assert_int_equal(rc, SSH_OK);
188-
189186
snprintf(priv_uri, sizeof(priv_uri), "pkcs11:token=%s;object=%s;type=private?pin-value=%s",
190187
obj_name, obj_name, pin);
191188

0 commit comments

Comments
 (0)