Hi,
The doc [*] says:
If the BIO_CLOSE flag is set when a memory BIO is freed then the
underlying BUF_MEM structure is also freed.
The only place to set such a BIO_CLOSE flag is in the c argument in function:
BIO_set_mem_buf(BIO *b,BUF_MEM *bm,int c)
So, must I understand that, in case I
On Sat, Jul 19, 2014, Iaki Baz Castillo wrote:
Hi,
The doc [*] says:
If the BIO_CLOSE flag is set when a memory BIO is freed then the
underlying BUF_MEM structure is also freed.
The only place to set such a BIO_CLOSE flag is in the c argument in function:
BIO_set_mem_buf(BIO
On 19/07/14 15:53, Iñaki Baz Castillo wrote:
Hi,
The doc [*] says:
If the BIO_CLOSE flag is set when a memory BIO is freed then the
underlying BUF_MEM structure is also freed.
The only place to set such a BIO_CLOSE flag is in the c argument in function:
BIO_set_mem_buf(BIO
2014-07-19 17:53 GMT+02:00 Matt Caswell m...@openssl.org:
So, must I understand that, in case I don't set a custom buffer (this
is, I do not call to BIO_set_mem_buf(), then the internal buffer of my
BIO will be freed when I call free(my_bio)?
You should not call free directly. Instead you
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