From: Nikos Mavrogiannopoulos Date: Mon, 19 Feb 2018 07:38:35 +0000 (+0100) Subject: tests: srp: increased timeout to 40secs [ci skip] X-Git-Tag: gnutls_3_6_3~465 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=76bc340c4815e1e6d03390a6cd2ff4f097755255;p=thirdparty%2Fgnutls.git tests: srp: increased timeout to 40secs [ci skip] Since we increased the maximum parameters to 8k, ensure that slower systems have enough time to complete the handshake. Signed-off-by: Nikos Mavrogiannopoulos --- diff --git a/tests/srp.c b/tests/srp.c index 7949eada74..9a198ae8dc 100644 --- a/tests/srp.c +++ b/tests/srp.c @@ -131,7 +131,7 @@ static void client(int fd, const char *prio, const char *user, const char *pass, /* Use default priorities */ assert(gnutls_priority_set_direct(session, prio, NULL)>=0); - gnutls_handshake_set_timeout(session, 20 * 1000); + gnutls_handshake_set_timeout(session, 40 * 1000); /* put the anonymous credentials to the current session */ @@ -229,7 +229,7 @@ static void server(int fd, const char *prio) s_x509_cred); gnutls_transport_set_int(session, fd); - gnutls_handshake_set_timeout(session, 20 * 1000); + gnutls_handshake_set_timeout(session, 40 * 1000); do { ret = gnutls_handshake(session);