summaryrefslogtreecommitdiff
path: root/doc/examples/ex-client-resume.c
diff options
context:
space:
mode:
Diffstat (limited to 'doc/examples/ex-client-resume.c')
-rw-r--r--doc/examples/ex-client-resume.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/examples/ex-client-resume.c b/doc/examples/ex-client-resume.c
index c09495007c..13b42e488f 100644
--- a/doc/examples/ex-client-resume.c
+++ b/doc/examples/ex-client-resume.c
@@ -65,7 +65,7 @@ main (void)
*/
do
{
- ret = gnutls_handshake (session);
+ ret = gnutls_handshake_timeout (session, GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
}
while (ret < 0 && gnutls_error_is_fatal (ret) == 0);