Hi, Does anyone know if a buffer passed to ssl_write (or any other method) must remain valid (i.e not freed) for any period. for example, if i have this code:
// allocate buffer char* tmpBuff = (char*)malloc(1024); // .. some code to put data in buff // write buffer to ssl ssl_write(mSsl, buff, dataLength); // free buffer now free tmpBuff; is this legal? (considering that ssl_write did not return want_read/want_write) Thanks Amit. ______________________________________________________________________ OpenSSL Project http://www.openssl.org User Support Mailing List [email protected] Automated List Manager [email protected]
