Re: [openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-08-13 Thread Robin Seggelmann via RT
On Aug 12, 2009, at 3:23 PM, Stephen Henson via RT wrote: [seggelm...@fh-muenster.de - Wed Aug 12 08:34:27 2009]: Ok, here's an updated version. Internally is dtls1_get_timeout() and dtls1_handle_timeout() used. They can be called externally using SSL_ctrl() with DTLS_CTRL_GET_TIMEOUT and

Re: [openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-08-12 Thread Robin Seggelmann via RT
On Aug 11, 2009, at 7:40 PM, Stephen Henson via RT wrote: [seggelm...@fh-muenster.de - Mon Jul 27 17:03:25 2009]: This patch fixes the timeout handling. The method dtls1_get_timeout() was intended to determine the next handshake message timeout when using select() calls, to set their

[openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-08-11 Thread Stephen Henson via RT
[seggelm...@fh-muenster.de - Mon Jul 27 17:03:25 2009]: This patch fixes the timeout handling. The method dtls1_get_timeout() was intended to determine the next handshake message timeout when using select() calls, to set their timeout. This method is renamed to DTLSv1_get_timeout(),

Re: [openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-08-11 Thread Michael Tüxen
On Aug 11, 2009, at 7:40 PM, Stephen Henson via RT wrote: [seggelm...@fh-muenster.de - Mon Jul 27 17:03:25 2009]: This patch fixes the timeout handling. The method dtls1_get_timeout() was intended to determine the next handshake message timeout when using select() calls, to set their timeout.

Re: [openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-08-11 Thread Dr. Stephen Henson
On Tue, Aug 11, 2009, Michael Txen wrote: On Aug 11, 2009, at 7:40 PM, Stephen Henson via RT wrote: [seggelm...@fh-muenster.de - Mon Jul 27 17:03:25 2009]: This patch fixes the timeout handling. The method dtls1_get_timeout() was intended to determine the next handshake message timeout when

Re: [openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-08-11 Thread Michael Tüxen
On Aug 11, 2009, at 9:15 PM, Dr. Stephen Henson wrote: On Tue, Aug 11, 2009, Michael Txen wrote: On Aug 11, 2009, at 7:40 PM, Stephen Henson via RT wrote: [seggelm...@fh-muenster.de - Mon Jul 27 17:03:25 2009]: This patch fixes the timeout handling. The method dtls1_get_timeout() was

Re: [openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-08-11 Thread Dr. Stephen Henson
On Tue, Aug 11, 2009, Michael Txen wrote: On Aug 11, 2009, at 9:15 PM, Dr. Stephen Henson wrote: Using SSL_ctrl() in a similar way to (for example) SSL_set_tlsext_host_name(). Do you mean using SSL_ctrl() instead of DTLSv1_get_timeout()? How should DTLSv1_handle_timeout() be handled?

[openssl.org #1997] [PATCH] DTLS timeout handling bug

2009-07-27 Thread Robin Seggelmann via RT
This patch fixes the timeout handling. The method dtls1_get_timeout() was intended to determine the next handshake message timeout when using select() calls, to set their timeout. This method is renamed to DTLSv1_get_timeout(), to fit the common naming scheme and the declaration is moved.