<div dir="ltr"><span style="font-family:arial,helvetica,sans-serif">Hi All.<br><br></span><div><span style="font-family:arial,helvetica,sans-serif"><br></span></div><div><span style="font-family:arial,helvetica,sans-serif">a)<br></span></div><div><span style="font-family:arial,helvetica,sans-serif">In the call,<br></span><pre class="gmail-code"><span style="font-family:arial,helvetica,sans-serif">                      int BIO_new_bio_pair(BIO **bio1, size_t writebuf1, BIO **bio2, size_t writebuf2);<br><br>are internal-buffers malloc'ed for each of "bio1" and "bio2"?<br></span></pre><pre class="gmail-code"><span style="font-family:arial,helvetica,sans-serif">If yes, is there a way to pass buffers from the application-layer?<br>I ask this, because not all systems possess dynamic-memory allocation (or at least "malloc" is not available on all systems).<br><br></span></pre><pre class="gmail-code"><span style="font-family:arial,helvetica,sans-serif">b)<br>Irrespective of the values of "writebuf1" and "writebuf2" in a), I see that everything works perfect.<br>So, there's got to be some internal-buffer that manages the complete ssl-packet, most probably instantiated via the call<br><br>                      BIO* BIO_new(BIO_f_ssl());<br><br></span></pre><pre class="gmail-code"><span style="font-family:arial,helvetica,sans-serif">Here too, is it possible to pass the buffer from application-layer (because of same reasons as above)?<br><br><br></span></pre><pre class="gmail-code"><span style="font-family:arial,helvetica,sans-serif">Will be grateful for pointers.<br><br></span></pre><pre class="gmail-code"><span style="font-family:arial,helvetica,sans-serif">Thanks and Regards,<br>Ajay</span></pre><span style="font-family:arial,helvetica,sans-serif"></span></div></div>