diff options
author | Daiki Ueno <ueno@gnu.org> | 2021-01-30 18:22:18 +0100 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2021-02-17 19:03:03 +0100 |
commit | 416485f6d4dde63e90d19916ab9dee8fe972be10 (patch) | |
tree | c9b263222e38f8252c5acc4713eb191d886c927e /tests/anonself.c | |
parent | 0ae814c77b18a925552b7a763a13ed1c63e2d1bd (diff) | |
download | gnutls-416485f6d4dde63e90d19916ab9dee8fe972be10.tar.gz |
tests: make any ad-hoc timeout setting controllable through envvar
Signed-off-by: Daiki Ueno <ueno@gnu.org>
Diffstat (limited to 'tests/anonself.c')
-rw-r--r-- | tests/anonself.c | 2 |
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); |