aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tests/unittests/torture_rand.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unittests/torture_rand.c b/tests/unittests/torture_rand.c
index 6e666dfb..68320bca 100644
--- a/tests/unittests/torture_rand.c
+++ b/tests/unittests/torture_rand.c
@@ -16,9 +16,10 @@
#define NUM_THREADS 100
static int setup(void **state) {
- (void) state;
int rc;
+ (void) state;
+
ssh_threads_set_callbacks(ssh_threads_get_pthread());
rc = ssh_init();
if (rc != SSH_OK) {