diff options
author | Nikos Mavrogiannopoulos <nmav@redhat.com> | 2015-04-30 16:40:24 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2015-05-03 19:30:19 +0200 |
commit | f47fc3004247575c4c044fd0435cacef442a0f44 (patch) | |
tree | ea604c2c5ff9f1d7fdbf97f587374af784f3982c | |
parent | d0148e33b291002f313e811fece0e276002164d7 (diff) | |
download | gnutls-f47fc3004247575c4c044fd0435cacef442a0f44.tar.gz |
doc: fixed example with DTLS timeouts
-rw-r--r-- | doc/examples/ex-client-dtls.c | 3 |
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 { |