Re: SSL_connect() question

2005-06-13 Thread Paul Slootweg
At 13:54 13/06/2005, you wrote: Hi, I have the following code: INCSSL::SSL *ssl; INCSSL::SSL_CTX *ctx; int rc; ctx = SSL_CTX_new(SSLv23_client_method()); ssl = SSL_new(ctx); SSL_set_fd(ssl, insocket); rc = SSL_connect(ssl); and rc returns -1, meaning that the SSL handshake was not successful.

Problem reading 'large' responses

2005-06-08 Thread Paul Slootweg
I've got some code that seems to work, except when the server responds with a 'large' amount of data. When I call SSL_read() I get a SSL_ERROR_SYSCALL error but no data returned. I've scoured the archive for related questions, but none of the answers seem to tell me where I'm going wrong. Th