]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
doc: fixed example with DTLS timeouts
authorNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 30 Apr 2015 14:40:24 +0000 (16:40 +0200)
committerNikos Mavrogiannopoulos <nmav@redhat.com>
Thu, 30 Apr 2015 14:40:24 +0000 (16:40 +0200)
doc/examples/ex-client-dtls.c

index c417c0dce7ac987ac68b109ae76d2cb41e85e531..dea3b687f318b96f06688aa652cf20e9e32f3630 100644 (file)
@@ -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 {