From: Nikos Mavrogiannopoulos Date: Thu, 30 Apr 2015 14:40:24 +0000 (+0200) Subject: doc: fixed example with DTLS timeouts X-Git-Tag: gnutls_3_4_1~3 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3fa65ac2650d4b116cd7a0ac4c052e5addef08b1;p=thirdparty%2Fgnutls.git doc: fixed example with DTLS timeouts --- 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 {