Hi Gayatri,
   
        Can u tell me wat is the cmd to disconnect from the ssl session.
The problem is as follows:

 1) while disconnecting ssl session, in ssl_writepending() there we get an 
exception because we are de-referencing a null pointer.
 2) when we see the code we found that the ssl->version is showing as V2 but 
client->version is V3. we are checking the ssl version and de-referencing the 
pointer which seems to be Null pointer.Actual data is there in V3
 3) To debug that from the client i establised ssl session using below command.
             openssl s_client -connect <server>:443
       for connection from the client.In my gdb it hit on one 
ssl23_get_client_hello().
 4) In order to disconnect this i tried Ctrl-C on the client. I have put a 
break point in ssl_usrdisconnect(). It did not hit there. I have put break 
points in couple of places as well but did not hit.
 5) I think it did not disconnect. Can u suggest on this.

    

-shashidhar
________________________________________
From: owner-openssl-us...@openssl.org [owner-openssl-us...@openssl.org] On 
Behalf Of Gayathri Sundar [suraj...@gmail.com]
Sent: Wednesday, August 24, 2011 10:06 PM
To: openssl-users@openssl.org
Subject: Re: hi

My windows knowlegde is at zero. sorry cant help there ..


On Wed, Aug 24, 2011 at 2:35 AM, Shashidhar RP 
<shashidhar...@hcl.com<mailto:shashidhar...@hcl.com>> wrote:
hi Gayatri,
                  Can you please tell me where can i find the ssl.conf file for 
windows.
will it be the same ssl.conf file or a different .conf file.?
for my linux client i found in "/etc/httpd/conf.d"
I have searched over the net i couldnt find this. For windows will it be 
openssl.conf or some thing else?
Please give the appropriate configuration file and the location it will/might 
be.

-shashidhar


________________________________
From: owner-openssl-us...@openssl.org<mailto:owner-openssl-us...@openssl.org> 
[owner-openssl-us...@openssl.org<mailto:owner-openssl-us...@openssl.org>] On 
Behalf Of Gayathri Sundar [suraj...@gmail.com<mailto:suraj...@gmail.com>]
Sent: Thursday, August 18, 2011 8:14 PM
To: openssl-users@openssl.org<mailto:openssl-users@openssl.org>
Subject: Re: hi

Hi,

First of all your question is really strange. Please check your client and 
server settings as to which highest ssl version is enabled. Generally SSLv2 
should be disabled and never negotiated.
The code your referring to is a piece of code that would be called when sslv3 
is negotiated during the handshake.

Disable sslv2 on ur client, enable tls on both sides, and you will see that the 
highest common version is selected automatically by the server. Check your 
client hello message on the wire and see what versions are actually sent out.

Thanks
--Gayathri

On Thu, Aug 18, 2011 at 5:46 AM, Shashidhar RP 
<shashidhar...@hcl.com<mailto:shashidhar...@hcl.com>> wrote:
forgot to mention that

 /* s->version = SSL3_VERSION */
the above line is commented in the code.... of ssl3_connect ();
is there any issue with this as the client version is updating  and ssl version 
not updating ??


________________________________
From: owner-openssl-us...@openssl.org<mailto:owner-openssl-us...@openssl.org> 
[owner-openssl-us...@openssl.org<mailto:owner-openssl-us...@openssl.org>] On 
Behalf Of Shashidhar RP [shashidhar...@hcl.com<mailto:shashidhar...@hcl.com>]
Sent: Thursday, August 18, 2011 3:24 PM
To: openssl-users@openssl.org<mailto:openssl-users@openssl.org>
Subject: hi


Hi ,
      I have a problem while establishing a session using ssl.. I have a client 
and when the session is establised
i found that the client version is V3 but the ssl version is v2, due to which i 
am facing other problem.

I saw the ssl code - s3_cln.c is which i saw a part of this code

           /* s->version = SSL3_VERSION */

  This is there in ssl3_connect code.
Is there any chance of a V2 client becoming V3 and while connect its version is
not updated?
And
where does this version wil be set? and when it can change?

Plz give some I/p on this so that ican move further.


Regards
shashidhar



________________________________
::DISCLAIMER::
-----------------------------------------------------------------------------------------------------------------------

The contents of this e-mail and any attachment(s) are confidential and intended 
for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. 
Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the 
opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, 
distribution and / or publication of
this message without the prior written consent of the author of this e-mail is 
strictly prohibited. If you have
received this email in error please delete it and notify the sender 
immediately. Before opening any mail and
attachments please check them for viruses and defect.

-----------------------------------------------------------------------------------------------------------------------
______________________________________________________________________ OpenSSL 
Project http://www.openssl.org<http://www.openssl.org/> User Support Mailing 
List openssl-users@openssl.org<mailto:openssl-users@openssl.org> Automated List 
Manager majord...@openssl.org<mailto:majord...@openssl.org>
______________________________________________________________________ OpenSSL 
Project http://www.openssl.org<http://www.openssl.org/> User Support Mailing 
List openssl-users@openssl.org<mailto:openssl-users@openssl.org> Automated List 
Manager majord...@openssl.org<mailto:majord...@openssl.org>

______________________________________________________________________ OpenSSL 
Project http://www.openssl.org<http://www.openssl.org/> User Support Mailing 
List openssl-users@openssl.org<mailto:openssl-users@openssl.org> Automated List 
Manager majord...@openssl.org<mailto:majord...@openssl.org>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to