Re: BIO and DTLS

2006-09-06 Thread Jeremy Goddard
The example is helpful, but it isn't clear to me when/how the DTLS session is established. In the _read function it appears that the session may be setup either during BIO_dgram_set_peer or SSL_set_bio. Furthermore, it seems that the DTLS clienthello datagram is now sitting in the memory buffer

Re: BIO and DTLS

2006-09-02 Thread Jeremy Goddard
Interesting, Two more questions. 1. Which callback should be used to perform a specific action after a DTLS session is setup. SSL_CTX_set_verify looks like a possibility. Is it called again when the the DTLS session is renegotiated? 2. Can you offer any suggestions about how to de-multiplex multi

BIO and DTLS

2006-08-29 Thread Jeremy Goddard
Hi All, Can anyone tell me if the behavior of the BIO_new_accept, BIO_do_accept, and BIO_read functions changes in any way while using DTLS? Thanks, Jeremy __ OpenSSL Project http://www.opens