SSL_connect ( ) hangs

2006-05-16 Thread Sendil kumar
Hi, I have a peculiar problem. When my SSL client (in blocking mode) makes a connection with NonSSL server , the client hangs . I need the client to terminate the connection with the server if the server is not ssl enabled one. I tried a lot of options but all failed . Please give any solutions to

Re: SSL_connect ( ) hangs

2006-05-19 Thread Sendil kumar
-users@openssl.orgSent: Tuesday, 16 May, 2006 7:31:51 PMSubject: Re: SSL_connect ( ) hangs On Tue, May 16, 2006 at 09:40:52AM +, Sendil kumar wrote:> I have a peculiar problem. When my SSL client (in blocking mode)> makes a connection with NonSSL server , the client hangs . I need the> client t

X509_CRL_free crashes

2006-05-19 Thread Sendil kumar
Hi,   I used PEM_read_bio_X509_CRL ( ) to read a CRL file and stored the content in a (*pCRL)  pointer.I passed this pointer as argument to the X509_CRL_get_REVOKED ( ) which returns a revoked stack .Once I verified my certificate with the stack , I deleted the stack , and when the control comes ou

Re: 1095 bit key ??

2006-06-09 Thread Sendil kumar
Hi, The 1095 bits specify the key length . For bublic key cryptography we need two keys for encryption and decryption(public and private),these keys are generated by the following procedure   Generate two large random primes, p and q, of approximately equal size such that their product n = pq is

Re: 1095 bit key ??

2006-06-09 Thread Sendil kumar
Hi, The 1095 bits specify the key length . For bublic key cryptography we need two keys for encryption and decryption(public and private),these keys are generated by the following procedure   Generate two large random primes, p and q, of approximately equal size such that their product n = pq is

Re: Error revoking a certificate

2006-06-12 Thread Sendil kumar
Hi,   I think box A be the owner of the certificate so when u revoke it in box A it works fine.Box B may not be the owner(issuer) and when revoking the certificate , it is verified whether it is revoked by the corresponding person who issued the certificate by checking CN field in the certificate,

large data read error

2006-08-19 Thread Sendil kumar
Hi,   I've got some code that seems to work, except when the server responds with a 'large' amount of data.   When the server sends 5000 bytes of data to the client ,the client was able to read it and every thing goes fine.But when the server passes more than 5000 bytes of data to the client,the c

Re: large data read error

2006-10-17 Thread Sendil kumar
limit of 5K in my usage ofthe OpenSSL.. OpenSSL record size is around 16K i remember. Canproblem be with ur server of client code (not OpenSSL) where somebuffer size is hardcoded to 5K and than return values are ntoapproapriately handled.Just a wild guess..-KrishnaFlextronics, IndiaOn 8/20/06, S

Re: large data read error

2006-10-17 Thread Sendil kumar
Hi Marek,   I have some doubts over the ssl buffer. Let I put my questions below   1. What happens when the server keeps on writing and no data has been read from the client?, Is there any possibility of buffer overflow?. Please explain this senarion briefly.   2. Assume that during the ssl handsha

SSL_use_certificate_chain_file error

2006-12-24 Thread Sendil kumar
error. Could you please help me, this is a P1 bug reported in my application by the user and I need to solve this as quickly as possible. Thanks, Sendil Kumar, Software Engineer, Brooks Software, India. ___ All New Yahoo

Re: SSL_use_certificate_chain_file error

2006-12-25 Thread Sendil kumar
arameter to SSL_use_certificate_file()? If so, that might explain why one works and the other doesn't. Ed From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sendil kumar Sent: Sunday, December 24, 2006 10:39 PM To: openssl-users@openssl.org Subject: SSL_use_certificate_chain_file error Hi All,

SSL_use_certificate_chain_file error

2006-12-26 Thread Sendil kumar
point that, how was the same code works fine in windows client and server but errors in cross platform(windows client and unix server)?. Please, I need a work arround as quickly as possible since it is a very critical issue in the user side. Help me .. Thanks, Sendil