Re: BIO pair

2001-03-03 Thread David Schwartz
You seem to be forgetting, among other things, that if you use BIO pairs, you have _4_ streams of data to deal with, not 2. First there's data received on the socket that needs to go to the SSL engine. Then there's data from the SSL engine that you need to hand to the socket. Third there's th

Re: BIO pair

2001-03-03 Thread Lutz Jaenicke
On Sat, Mar 03, 2001 at 05:57:49PM +0200, Teemu Piiroinen wrote: > I have tried to use BIO pair and for some reason it doesn't > seem to work right. So, here is the code if someone could > tell me what's going wrong. > > I have tried to make it work without SSL_set_fd and SSL_accept, but it won't