On Tue, Aug 29, 2000 at 02:17:24PM +0200, Andreas Jungmaier wrote:

[...]
>       After looking through the openssl-source code I figured (since there
> are BIO-class implementations for memory i/o, socket i/o as well as
> remote procedure call-based i/o and a BIO-null class template) that 
> it should be possible to adapt the OpenSSL in a way transparent to
> the transport protocol. 
>       But how and where do you specify, that the SSL-functions
> (e.g. SSL_write(), SSL_read()) use a different BIO-class ?

The BIOs underlying an SSL object are set by calling the SSL_set_bio
function.  (You won't see this function in all applications because
if you have sockets, you can just call SSL_set_fd, which will
first create the necessary BIOs and then set them.)
Look, say,  at ssltest.c for an example involving BIO pairs.


-- 
Bodo Möller <[EMAIL PROTECTED]>
PGP http://www.informatik.tu-darmstadt.de/TI/Mitarbeiter/moeller/0x36d2c658.html
* TU Darmstadt, Theoretische Informatik, Alexanderstr. 10, D-64283 Darmstadt
* Tel. +49-6151-16-6628, Fax +49-6151-16-6036
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to