Hi again,
My problem with SSL_connect and SSL_accept that I
was having yesterday has been tracked down to this...
ssl23_get_server_hello ....
ssl23_read_bytes...
and then ...
int ret=0;
if (out != NULL)
{ #ifndef BIO_FD clear_socket_error(); ret=readsocket(b->num,out,outl); I've made a few changes to my code, such as
explicitly setting the method, ensuring that SSL_set_connect_state() has been
called (For the client) and SSL_set_accept_state() has been called for the
server. I moved away from using a BIO_
for associating the socket with SSL, and rather
tried the SSL_set_fd() call - now it blocks at that readsocket(). (Almost what I
was expecting - but why is nothing coming back ?)
Anybody who can help, it would be greatly
appreciated.
__________________________________________
Pascal
Qbik New Zealand "meddle not in the affairs of dragons, for ye
are
crunchy and taste good with tomato sauce" |