RE: OpenSSL SSL_Accept Error

2011-04-14 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Harshvir Sidhu > Sent: Wednesday, 13 April, 2011 08:29 > Server is Single Threaded and is handling all the connections > in while(1) loop, the sockets are blocking but I am using FD_SET options, > not sure if that could be in

Re: OpenSSL SSL_Accept Error

2011-04-13 Thread Harshvir Sidhu
Server is Single Threaded and is handling all the connections in while(1) loop, the sockets are blocking but I am using FD_SET options, not sure if that could be interrupting with the way openssl works, in the code i am doing accept, then created SSL and CTX and then calling SSL_Accept. I am NOT us

RE: OpenSSL SSL_Accept Error

2011-04-12 Thread Dave Thompson
> From: owner-openssl-us...@openssl.org On Behalf Of Harshvir Sidhu > Sent: Tuesday, 12 April, 2011 15:13 > Just to add a note to my last question, > I tried to use openssl.exe s_client -connect IP:PORT > and it gives the following error message in that. (reordered)

Re: OpenSSL SSL_Accept Error

2011-04-12 Thread Harshvir Sidhu
Just to add a note to my last question, I tried to use openssl.exe s_client -connect IP:PORT and it gives the following error message in that. I am using a self signed certificate so this first line makes sense, but why its giving this SSL alert number 20. Not able to find anything useful for this

OpenSSL SSL_Accept Error

2011-04-12 Thread Harshvir Sidhu
Hi, I am trying to write the server side code using OpenSSL. I am getting the following error on SSL_Accept. error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac I tried to google on this, everywhere they were mentioning that there was some build error, which