summaryrefslogtreecommitdiff
path: root/tests/anonself.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/anonself.c')
-rw-r--r--tests/anonself.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/anonself.c b/tests/anonself.c
index 26e360743f..9d4926f424 100644
--- a/tests/anonself.c
+++ b/tests/anonself.c
@@ -192,7 +192,7 @@ static void server(int sd, const char *prio)
assert(gnutls_priority_set_direct(session, prio, NULL) >= 0);
- gnutls_handshake_set_timeout(session, 20 * 1000);
+ gnutls_handshake_set_timeout(session, get_timeout());
gnutls_credentials_set(session, GNUTLS_CRD_ANON, anoncred);
gnutls_dh_set_prime_bits(session, DH_BITS);