summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-04-30 16:40:24 +0200
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-04-30 16:40:24 +0200
commit3fa65ac2650d4b116cd7a0ac4c052e5addef08b1 (patch)
tree337a76291e36ebf52c22c9e0b4522608bdcdfdc3 /doc
parent14f43b7278de5d690266347f513ab00896688d68 (diff)
downloadgnutls-3fa65ac2650d4b116cd7a0ac4c052e5addef08b1.tar.gz
doc: fixed example with DTLS timeouts
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/ex-client-dtls.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/doc/examples/ex-client-dtls.c b/doc/examples/ex-client-dtls.c
index c417c0dce7..dea3b687f3 100644
--- a/doc/examples/ex-client-dtls.c
+++ b/doc/examples/ex-client-dtls.c
@@ -75,8 +75,7 @@ int main(void)
/* set the connection MTU */
gnutls_dtls_set_mtu(session, 1000);
- gnutls_handshake_set_timeout(session,
- GNUTLS_DEFAULT_HANDSHAKE_TIMEOUT);
+ /* gnutls_dtls_set_timeouts(session, 1000, 60000); */
/* Perform the TLS handshake */
do {