I did it:
--
//
// the connection is already established (with ssl_accept)
//
BIO *internal_bio, *network_bio, *ssl_bio;
int iDataLen;
//
// let's create a new bio pair and the ssl bio
// the internal_bio is not directly used.
//
BIO_new_bio_pair(internal_bio,0,network_bio,0);
ssl_bio
I'm trying (with no success) to detach SSL from a socket, and use it
to crypt/decrypt using a mem BIO. Instead of using SSL_write, I want
to write the encrypted data to a mem BIO (or just a buffer) and send
it by myself (and do the reverse operation on receive). I will do this
just after the
To: openssl-users@openssl.org
Subject: RE: Writing to a mem BIO instead of using SSL_Write
I'm trying (with no success) to detach SSL from a socket, and use it
to crypt/decrypt using a mem BIO. Instead of using SSL_write, I want
to write the encrypted data to a mem BIO (or just a buffer
Henry Su wrote:
Try to find some source code for EAP-TTLS or EAP-PEAP, these use mem BIO and
SSL. You can try to read some source code FreeRadius or Open.1X. Good luck.
Or mod_ssl in Apache 2.
--
http://www.apache-ssl.org/ben.html http://www.thebunker.net/
There is no limit to what a man can