[[OpenSSL]] needs to keep state with respect to ever TLS or DTLS session that it has established. It does this through the use of a ''SSL *'' pointer which is then attached to the sending and receiving BIO * pointer using a call as follows:
+
[[OpenSSL]] needs to keep state with respect to every TLS or DTLS session that it has established. It does this through the use of a ''SSL *'' pointer which is then attached to the sending and receiving BIO * pointer using a call as follows:
SSL_set_bio(SSL *''ptr'', BIO *''read_from_bio'', BIO *''write_to_bio'');
SSL_set_bio(SSL *''ptr'', BIO *''read_from_bio'', BIO *''write_to_bio'');
Ok... I stopped looking at this point because the number of outstanding [http://rt.openssl.org/index.html?q=dtls patches/bugs] is huge for DTLS. The good news is that means there is interest in it which means hopefully future versions will have this problem fixed.
Ok... I stopped looking at this point because the number of outstanding [http://rt.openssl.org/index.html?q=dtls patches/bugs] is huge for DTLS. The good news is that means there is interest in it which means hopefully future versions will have this problem fixed.