How to find the other end can support SSL or not

2010-12-17 Thread Kingston Smiler
will be successful. When i do SSL_Connect over this TCP socket, the other end considers this as TCP payload and doesn't respond to me. I don't get an failure related to SSL_connect. So is there a way to identify whether the other end supports TLS or not. Regards, S. Kingston Smiler.

Re: Reagrding Thread safety in OpenSSL

2007-11-25 Thread Kingston Smiler
one please suggest a way to provide the thread safety with out much impact in the performance. regards, S. Kingston Smiler. On Sep 5, 2007 4:53 PM, Kyle Hamilton <[EMAIL PROTECTED]> wrote: > Lock your app data separately from the lock that OpenSSL uses to > protect its own stuff. Don&

Re: Reagrding Thread safety in OpenSSL

2007-09-05 Thread Kingston Smiler
(pthread_lock_handler); > > CRYPTO_set_id_callback(id_handler); > > It works fine in linux. But it does not in WinXP. I was puzzled with it > too. > > Regards, > Kurt. > > >-Original Message- > >From: [EMAIL PROTECTED] > >[mailto:[EMAIL PROTECTED

Reagrding Thread safety in OpenSSL

2007-09-05 Thread Kingston Smiler
Hi, I'm having a small query regarding the thread safety of the OpenSSL library. OpenSSL provide some set of Static Locking Callbacks and Dynamic locking callbacks to ensure the thread safety of the OpenSSL data structures. But if the application using the OpenSSL, implements its own locking me

Regarding epollET with SSL_read/ SSL_write

2007-07-10 Thread Kingston Smiler
Hi, Can any one give information about the application which uses epoll ET instead of select for polling the underlying bio in SSL. As per the man page, SSL_read() works based on the SSL/TLS records. The data are received in records (with a maximum record size of 16kB for SSLv3/TLSv1). Only when

Doubts regarding partial write in SSL_write call

2006-12-11 Thread Kingston Smiler
Hi Guys, I've one query regarding SSL_write call provided by OpenSSL library. The SSL_write could return with READ_ERROR or WRITE_ERROR with partial writing of data. While re-attempting to send the data once again SSL_Write expects the same arguments as that of the previous one. If I give a dif

Re: Doubts in the error codes returned by SSL_Write and SSL_Connect

2006-12-03 Thread Kingston Smiler
ize of the socket to maximum value. (1MB) regards, S.Kingston Smiler. On 12/3/06, Dr. Stephen Henson <[EMAIL PROTECTED]> wrote: On Sun, Dec 03, 2006, Kingston Smiler wrote: > Hi Stephen, > >Thanks for your reply. I've one more doubt regarding the negotiation > timings.

Re: Doubts in the error codes returned by SSL_Write and SSL_Connect

2006-12-03 Thread Kingston Smiler
spec message. Is it possible to send a client Hello message say at x minutes and the final server change cipher spec message after x+10 minutes. regards, S.Kingston Smiler. On 12/1/06, Dr. Stephen Henson <[EMAIL PROTECTED] > wrote: On Fri, Dec 01, 2006, Kingston Smiler wrote: > Hi, &

Doubts in the error codes returned by SSL_Write and SSL_Connect

2006-12-01 Thread Kingston Smiler
Hi, I've couple of doubts regarding error set by the SSL_Write and SSL_Connect Calls. 1. The SSL_Write call could set the error buffer with the values as SSL_WANT_WRITE_ERROR / SSL_WANT_READ_ERROR. I could understand the scenarios where the SSL_Write could return the WANT_READ error. Bu