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?
>

There is a sort of unwritten (and possibly not well adhered to) rule that
protocol specific stuff should go via ctrls so the whole lot is contained in
the relevant SSL_METHOD.

So both would go via SSL_ctrl(). You could call dtlsv1_get_timeout() directly
within the SSL library but outside it would be via SSL_ctrl().

Steve.
--
Dr Stephen N. Henson. OpenSSL project core developer.
Commercial tech support now available see: http://www.openssl.org
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       openssl-dev@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to