Hi,

In my application OpenSSL is used for establishing DTLS connections
but there is no application data (I mean: there should NOT be). This
is: just the DTLS handshake is needed (and the "use_srtp" extension to
negotiate a SRTP session key pair).

Anyhow I need to call SSL_read() for the incoming data (stored in a
BIO_mem) to be processed and the handshake performed. And thus, I MUST
be ready to receive encrypted application data (regardless I don't
expect it and would just ignore it if received).

How could I tell OpenSSL "do SSL_read but please don't ask me for a
buffer to store received application data"?

Of course I could use a static buffer for that purpose. Just wondering.

Thanks a lot.

-- 
Iñaki Baz Castillo
<i...@aliax.net>
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to