Re: Issue with SSL_CTX_new

2005-03-12 Thread Tulio Salvaro
Hi, I write english very bad, but I will try to help you. I think that you don't load the library of SSL connection. if(! SSL_library_init()){ fprintf(stderr, "** OpenSSL initialization failed!\n"); exit(1); } Bye TĂșlio Salvaro On Fri, 11 Mar 2005 16:55:13

RE: ssl_read to receive data of "unknown size"

2005-03-12 Thread David Schwartz
> I am trying to use ssl_read in the loop for receiving the data > of > unknown size ( say 988 bytes for now ). But it fails to read after a > single pass. Everytime it exits with ret = 32 and error=SSL_ERROR_NONE. > Am I missing something here .. Please find attached the code snippet. Is

RE: ssl_read to receive data of "unknown size"

2005-03-12 Thread Vu Pham
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Mahesh Lalge > Sent: Saturday, March 12, 2005 7:31 AM > To: openssl-dev > Subject: ssl_read to receive data of "unknown size" > > Hi, > > I am trying to use ssl_read in the loop for receivi

ssl_read to receive data of "unknown size"

2005-03-12 Thread Mahesh Lalge
Hi, I am trying to use ssl_read in the loop for receiving the data of unknown size ( say 988 bytes for now ). But it fails to read after a single pass. Everytime it exits with ret = 32 and error=SSL_ERROR_NONE. Am I missing something here .. Please find attached the code snippet. Is there